Skip to content

KinematicCharacterControllerOutput doesn't get attached automatically #515

@theunrealtarik

Description

@theunrealtarik

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 KinematicCharacterControllerOutput component (inserted automatically to the same entity as the KinematicCharacterController component).

Here's a demo that demonstrates the issue.
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions