ClientObjectController

Methods
9
Fields
None

Methods

MethodReturnsDescription
getWorldView()numberThe id of the world view it is drawn in: -1 until setLocation places it (the top level), then the point's (WorldView.TOPLEVEL, 0, or a…
getX()numberIts local (fine) x.
getY()numberIts local (fine) y.
getZ()numberIts height (negative up): the ground's under it after setLocation.
setZ(number)()Set its height (negative up), drawn from the next frame.
getLevel()numberIts level (plane), 0-3.
getOrientation()numberThe way it faces, 0-2047.
setOrientation(number)()Face orientation (0-2047), drawn from the next frame.
getLocation()LocalPointWhere it is: its x and y in its world view (-1 until placed).

Method details

getWorldView

getWorldView: (ClientObjectController) -> number

The id of the world view it is drawn in: -1 until setLocation places it (the top level), then the point's (WorldView.TOPLEVEL, 0, or a world entity's).