User:Azeon/Project: Three/Classes/Object
Inheritance tree:
An object is (todo).
Entity properties
| ||
---|---|---|
Name | Type | Description/Misc. notes |
uuid
|
String | A uniquely identifying string. |
pos
|
Vector3D | A 3-dimensional vector containing the Entity's x, y, and z positions. |
angle
|
Angle3D | A 3-dimensional angle vector containing the Entity's x, y, and z angles. |
mom
|
Vector3D | A 3-dimensional vector containing the Entity's x, y, and z momentum. |
Object properties
| ||
---|---|---|
Name | Type | Description/Misc. notes |
type
|
ObjectType | Contains information about the Object's type. |
display
|
DisplayInfo | Contains information on how the Object is displayed. |
health
|
Number | Health of the Object. A health of 0 means the Object is dead. |
body
|
Array [Body] | Array containing collision bodies. |