isMoving property and action notification
DennisSmolek opened this issue · comments
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)