How do I control my attitude from Script when I'm using Unity's Meganim+Humanoid?

Asked 1 years ago, Updated 1 years ago, 41 views

Animation using Unity Humanoid
I would like to control the direction of the character's waist (Spine) and neck (Neck) from Script.

In the case of Generic and Legacy, it was reflected when I turned the Junt on FixedUpdate.
I couldn't control it when I used Mecanim+Humanoid.

The arms and legs can be controlled by AvatorIKGoal, but
Waist (Spine) and neck (Neck) cannot be specified from IK.

Does anyone know if there is any way?

unity3d

2022-09-30 14:36

1 Answers

Self-resolved.

I should have used LateUpdate instead of FixesUpdate

http://docs.unity3d.com/Manual/ExecutionOrder.html
I was able to do what I wanted to do by turning it around after the physics process.


2022-09-30 14:36

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.