Character lean in move direction

MarkusKer

Member
Hello,

i noticed that the character from the demo scene leans into the direction it moves to (with the mouse movement). However i do not seem to find the right approach to get my new character using this feature. My new character does alsdo not behave like this in the demo scene.


Thanks for any help :)
 
Hi, the leaning is just an animation that Nolan (the demo scene character) has which gets applied based on the character's Yaw value.
 
The lean is based on the yaw so as long as your character has a yaw it'll lean. I just created a fresh project with a new character and they were also able to lean. Maybe you aren't using the adventure movement type?
 
It is working with the combat movement as well. Newly created characters does not seem to lean. but i copied the nolen character controller script and now it is working.
 
Top