The NewtonVR Developer Hub

NewtonVR allows players to pick up, drop, throw, and use held objects. Items don't pass through other items (rigidbodies), or the environment (non-rigidbodies). Rather, held items interact with other rigidbodies naturally - taking mass into account. We include a simple collision sound framework. And it works with both Oculus and SteamVR cleanly, with more to come.

Get Started    Documentation
Ask A Question


NVRButton but on x or z axis

Posted by A.K 11 months ago


For my project, I'd like to use a button, only it's on a wall. I tried to change it to ConstrainedPosition.x = this.transform.localPosition.x; (or z)
this.transform.localPosition = ConstrainedPosition;
this.transform.localRotation = ConstrainedRotation;
but the button is always detected as "Button was pushed" and "button is pushed' on play.
The button also changes position on play.
Could I get some help with it ?

Also, I'm in love with the Newton VR so far !


Loading comments...