IronWarrior / SuperCharacterController

Unity custom character controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rotation of collision spheres

hinshun opened this issue · comments

Since ground probing occurs from the feet sphere, how did you handle player rotations like a back flip? Do the collision spheres remain in the standing idle position? What about crouching?

CollisionSpheres usually are only rotated if you want the character's physics and logic to be rotated. For backflips, you'd want to play an animation while leaving the spheres where they are. For crouching you can set the heightScale property.