Download

Rotating an Static Mesh on motion controller movement

I’m trying to rotate a static mesh on the X and Z axis using a lerp to rotate between -20 and 30 degrees. Is it possible to have an event for when the motion controller moves forward and a different event for when the motion controller moves back.

I tried taking the world locations but You in the oculus are on a moving object so the world location keeps updating.

Otherwise is there a different way to rotate the static mesh.