Forum Discussion
alessia90
11 years agoHonored Guest
move OVRPlayer up an then fall down
HI guys, i'm just beginner ..
i want to create an elevator but i find a lot of problem because there's no collision between the ovr player and the cube (the cupe pass through the player when goes up ). So i decided to make the ovrplayer move up itselves.
but the code doesn't work! the player starts bouncing!
Sorry for the bad english! please help me:)
i want to create an elevator but i find a lot of problem because there's no collision between the ovr player and the cube (the cupe pass through the player when goes up ). So i decided to make the ovrplayer move up itselves.
temp = new Vector3 (0, 1, 0);
transform.position = transform.position + temp;
but the code doesn't work! the player starts bouncing!
Sorry for the bad english! please help me:)
2 Replies
Replies have been turned off for this discussion
- moltonExplorerHello, I believe you simply want to add a collider to your cube in the Unity editor, the player controller does have a collider even though there's no collider component, it's included in the player controller.
- parsec72ExplorerI have a similar problem if I use the joystick locomotion the player colides and elevator works .. but If I walk on my own the there is no collider and the elevator pass through , any idea on how to fix this? this is on Quest..
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago
- 6 months ago