Skip to main content

world.setPosition()

world.setPosition(eid, x, y, z)

Description

Set position of an entity.

Parameters

PropertyTypeDescription
eideidEntity to set position of.
xNumberNegative X axis extends left. Positive X Axis extends right.
yNumberNegative Y axis extends down. Positive Y Axis extends up.
zNumberNegative Z axis extends in. Positive Z Axis extends out.

Returns

None.