world.setQuaternion()
world.setQuaternion(eid, x, y, z, w)
Description
Set rotation of an entity.
Parameters
Property | Type | Description |
---|
eid | eid | Entity to set quaternion of. |
x | Number | x coordinate |
y | Number | y coordinate |
z | Number | z coordinate |
w | Number | w coordinate |
Returns
None.