Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
sebasrez's avatar
sebasrez
Explorer
9 years ago

Angular Velocity, Angular Acceleration Broken? (has anyone gotten this to work on the latest unity?)

I'm using 1.13.0 and my output for Angular Velocity is always 0,0,0. I tried using the example Room and the grabbable and grabber also output 0 as well. I am not sure what to do but from older requests it should be outputting as a Quaternion but other reports say it should be a Vector 3? I am not sure how to get it working?

9 Replies

Replies have been turned off for this discussion
  • Hi imperativity,

    yes this is a Unity project. I have 'controllerAngularVelocity = OVRInput.GetLocalControllerAngularVelocity(controllerInput);
    Debug.Log (controllerAngularVelocity);'

    And it is not returning anything.
  • Hi, any updates on this? I still can't get it to work, as it continues returning zero.
  • Yes I am using touch controllers. I also went into the example scene that comes with 1.13, which has the cubes that should be running angularVelocity and I set them to debug.Log their value and it also comes out as Zero. 

    The objects(cubes) do not rotate based on how I am throwing them in the example scene.
  • I was using an older version of Unity, I do get a result when I updated to the latest version as specified in the thread, thanks for the link!