Skip to content

[BUG] ISDK rotation bug with Locomotion #112

@haubna

Description

@haubna

Unity version

6000.1.10f1

Meta XR Core SDK version

v77

Which OS are you using?

Windows 11

Where does the issue occur?

  • In Unity Editor
  • In Quest builds

Description

Hand rotation is wrong when the Character rotates with Locomotion

Steps to reproduce

Open the MovementISDKLocomotion scene (from the Movement SDK Advanced Samples) -> click the StylizedCharacterLocomotion prefab in the scene and in the Character Retargeter change the weight of the ISDK Source Processor Container to 1.0 and the Max Displacement to 1.0. Start the scene and rotate with the right joystick.

meta_bug.mp4

Logs

No logs required.

Additional info

Fix for this issue (at least for me):
Changing line 339 of the ISDKSkeletalProcessor from:
var isdkRotation = isdkPose.rotation;
to
var isdkRotation = Quaternion.Inverse(_cameraRig.transform.rotation) * isdkPose.rotation;
Although moving the Inverse operation outside the loop is better

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions