Skip to content

isMoving property and action notification #79

@DennisSmolek

Description

@DennisSmolek

Tracking movement state allows us to trigger sounds or animation (walk, run, etc)

I was going to add this when we set the linearVelocity in the character controller.

However, I'm not sure this is only for user-defined movement or if this will also factor in moving platforms or if impacted by another body.

There are body settings where a large body can push the controller (imagine a boulder)
In this instance, we would want the character to notify that it is moving.

However, if we are on a moving platform and the linear velocity is changing because the ground velocity is, then we shouldn't notify that we are moving (dont want to play walking animation when on a moving platform)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions