mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-10 17:23:15 +02:00
Merge pull request #12112 from hyperlogic/bug-fix/oculus-touch-angular-velocity-rc62
RC62 - Oculus Touch: More accurate spin on thrown objects
This commit is contained in:
commit
8d416133b4
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ controller::Pose ovrControllerPoseToHandPose(
|
|||
pose.translation = toGlm(handPose.ThePose.Position);
|
||||
pose.translation += rotation * translationOffset;
|
||||
pose.rotation = rotation * rotationOffset;
|
||||
pose.angularVelocity = toGlm(handPose.AngularVelocity);
|
||||
pose.angularVelocity = rotation * toGlm(handPose.AngularVelocity);
|
||||
pose.velocity = toGlm(handPose.LinearVelocity);
|
||||
pose.valid = true;
|
||||
return pose;
|
||||
|
|
Loading…
Reference in a new issue