A simple component that rotates an entity to face a target
Constructor
new (target:FlxObject, lerp:Float = 0.25)
Creates a new component that rotates an entity to face a target
Parameters:
target | the target at which to face |
---|---|
lerp | the rate of change in the angle (0-1) |