- Home /
any idea how can i learn my target body script?
script idea: there is a static model that serves as a reference for the physical ragdool model, the ragdool model should try to copy the static model using physics, in the current script I am using rb.MoveRotation().
the problem: slow and smooth movements are perfectly copied by the script idea, however fast movements become completely imprecise. for example: if I make a running animation, and I tell the physical model to try to do it, it can't keep up with the speed and even if it does it creates inertia what goes beyond and causes "overshoot" in the character's movement.
PlayerForward[I].MoveRotation
(
Mathf.LerpAngle
(
PlayerForward[I].rotation,
BodyTarget[I].rotation,
Target_Force * Time.fixedDeltaTime
)
);
Your answer
Follow this Question
Related Questions
active ragdoll rotation is not working 0 Answers
My character cant jump 2 Answers
Shoot accuracy bar 1 Answer
Smooth jump script? 1 Answer
jumping from ledge problem 1 Answer