Skip to main content
New Participant
June 29, 2021

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

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

    This topic has been closed for replies.

    2 replies

    Participant
    June 29, 2021

    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 

    New Participant
    July 5, 2021

    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?