cancel
Showing results for 
Search instead for 
Did you mean: 

is it able to get VR hands’ velocity, directoin? and then based on these value to convert them to a

gpufoxmail
Level 3

is it able to get VR hands’ velocity, directoin? and then based on these value to convert them to a Force value?

2 REPLIES 2

laurisD
Level 4

Yes, I'm using Unity so I can't give you a C++ script but you have to check the hand's position in a function witch execute everytime physics are calculated, then based on your timestep for physics calculation (usually 0.02s) you have the velocity and the direction of your hand. Finally add this to your hand object for apply physics 

Thanks!

https://forums.oculusvr.com/t5/Unity-Development/Getting-Touch-Controller-Velocity/td-p/709695

OVRInput.GetLocalControllerVelocity(RightOrLeftController)

this is invalid in Unreal, Oculus right now?