12-11-2024 07:13 AM
Hi all,
I'm using the latest avatar SDK and I want to set up a local third person avatar with animated legs. I looked at the NetworkLoopbackExample sample scene, so I added the OVR Animation Behaviour script to the local avatar. However, the legs don't animate, they just stay still.
Is there a way to make them move?
Thanks in advance for any help.
12-17-2024 01:53 PM
The legs should be moving when you move your headset. The behavior is coded to activate the animation when the headset is in motion.
I'm looking for a solution to activate the leg animation when moving the avatar with my controller with continuous motion. I haven't found any solution yet and it's not part of the Meta Building Block.
12-18-2024 12:14 AM
Hi, the local avatar's legs don't move even if I move the headset. They are like frozen, the feet aren't planted on the floor.
12-18-2024 05:54 AM
I have the same issue. The local avatar's leg do not move. I guess they are not supposed to move - only when viewed as a remove avatar.
12-18-2024 06:00 AM
Yeah, I think so too. I hope they fix it soon.
By chance, did you try to integrate the avatar editor as well?
12-18-2024 06:22 AM
Usually local avatars are not rendered in full body mode so I'm not sure why the new SDK is rendering them that way now.
No i haven't integrated the editor yet. I'm trying to figure out how to integrate animation with controller locomotion.
12-18-2024 06:34 AM
Yeah, I agree. They made things more complicated then before. I'll inform you if I find anything useful about the locomotion. Thanks for your help.
Tuesday
Hey not sure if you made any progress on this. I figured out how to animate the legs. There is a controller MecanimLegsAnimationController that is attached to the animation rig of the local avatar.
If you set the useOverideParameters property to true and the set the motion and speed, you can control the movement of the legs of the avatar on demand - such as when using the controller.
mecanimLegsAnimationController._moveSpeedOverride = 0.1f;
mecanimLegsAnimationController._movementParameterOverride = MecanimLegsAnimationController.MovementParameter.MoveForward;
mecanimLegsAnimationController._useOverrideParameters = true;
This will get sent to the remote avatar and the avatar's legs to appear in motion.
Wednesday
Hi thanks for replying.
The issue solved only by updating to the last avatar version v35.