Represent any existing object in the 3D world of Northgard.
Variables
Methods
isRemoved():Bool
Check if an entity have already been removed during the current update frame.
Returns:
Bool
orientToPos(x:Float, y:Float):Void
[HostOnly] Immediately turn the entity toward coordinates.
Parameters:
x | |
---|---|
null | y |
orientToTarget(target:Entity):Void
[HostOnly] Immediately turn the entity toward a given target.
Parameters:
null | target |
---|
setPosition(x:Float, y:Float):Void
[HostOnly] Set the position of the entity on the X and Y axis, figuring out the Z relative to the terrain's height.
Parameters:
x | |
---|---|
null | y |