-
-
Notifications
You must be signed in to change notification settings - Fork 273
Description
Hi.
This morning I have been trying to get my player jumping mechanics done and my logic was relying on the grounded field from KinematicCharacterControllerOutput. I followed what the documentation says precisely how to add character controllers and so on but to my surprise nothing had worked as I was expecting. Debugging led me to find that my player has no KinematicCharacterControllerOutput attached to it even tho he has KinematicCharacterController which should attach the output component automatically as it says here. So I don't know if I messed things up somewhere or it's just some intern weird bug.
The applied character motion, and the information of whether the character is touching the ground at its final position, can be read with the
KinematicCharacterControllerOutputcomponent (inserted automatically to the same entity as theKinematicCharacterControllercomponent).
Here's a demo that demonstrates the issue.
