platypus.components. LogicRotationalMovement

new LogicRotationalMovement()

This component changes the (x, y) position of an object according to its current speed and heading. It maintains its own heading information independent of other components allowing it to be used simultaneously with other logic components like [[Logic-Pushable]]. It accepts directional messages that can stand alone, or come from a mapped controller, in which case it checks the pressed value of the message before changing its course accordingly.

Listens to Events: