Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
IceColdLion's avatar
1 year ago

Avatar SDK Snap Rotation stutter.

EDIT: fixed - bug caused by networking replication

Hello everyone


I am working on a VR project using Avatar SDK. I am having problems using custom input for the avatar when snap rotating, currently when snap rotating the arms stutter, even though the avatar is following the left-hand circle which is the OVRCameraRig's leftHandAnchor.

The stuttering:
https://www.youtube.com/watch?v=pChImVa8R2A&ab_channel=LeoA

 

 

pose.LeftHandPosition = Quaternion.AngleAxis(
    playerInputs.ValueRO.SnapRotation, Vector3.up) * pose.LeftHandPosition;

pose.LeftHandRotation = Quaternion.AngleAxis(
    playerInputs.ValueRO.SnapRotation, Vector3.up) * pose.LeftHandRotation;

 

 


The avatar is set to follow the OVRCameraRig and the circle which is a child of the leftHandAnchor never stutters.

I have my suspicions I am not doing something with the AvatarSDK. Any help would be appreciated. Thank you.

Replies have been turned off for this discussion