- Home /
Question by
finnqpalzm · Mar 16 at 08:38 AM ·
animationscripting problemtransform
,Character moving outside of character controller when doing animation
When my character does its crouch animation it moves outside of the character controller which means the mesh clips through other objects which is a problem.
I was thinking of adding something like this to my script and I was wondering how I could achieve it?
if (isCrouching)
{
//move the character mesh back
}
My character controller and movement script is on an empty gameobject which has the character and the animation controller as a child under it.
image-2022-03-15-140722.png
(31.8 kB)
image-2022-03-15-140746.png
(7.2 kB)
Comment
Your answer
Follow this Question
Related Questions
Animation transform lock 0 Answers
Rotating An Object On Its Axis Once 3 Answers
Is there a new retargetting system for the animation in 5.5? 1 Answer