Discussions

Ask a Question
Back to All

NVRButton but on x or z axis

Hi,

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 !

Thanks