MOEntity
(Difference between revisions)
(Created page with "'''MOEntity''' is one the most important object. It is associated with a mesh and can be tranformed (moved, rotated) around the scene. It can has physics, so it cou...") |
m |
||
Line 1: | Line 1: | ||
− | '''MOEntity''' is one the most important | + | '''MOEntity''' is one the most important objects. It is associated with a [[MMesh|mesh]] and can be tranformed (moved, rotated) around the scene. |
It can has physics, so it could collide with other objects. | It can has physics, so it could collide with other objects. |
Revision as of 22:20, 23 August 2013
MOEntity is one the most important objects. It is associated with a mesh and can be tranformed (moved, rotated) around the scene.
It can has physics, so it could collide with other objects.
An entity can be anything from a character, an item, a weapon, a room, a big environment.
MOEntity is derived from MObject3d.
MOEntity uses MPhysicsProperties and MPhysicsConstraint which are defined in the MOEntity source code itself.
Contents[hide] |
Source code
API
getType
[...]
setActive
[...]
Invisible
setInvisible
[...]
isInvisible
[...]
Mesh
getMesh
[...]
setMeshRef
[...]
getMeshRef
[...]
Animation
changeAnimation
[...]
isAnimationOver
[...]
setAnimationSpeed
[...]
setCurrentFrame
[...]
getAnimationId
[...]
getAnimationSpeed
[...]
getCurrentFrame
[...]
Physics
deletePhysicsProperties
[...]
createPhysicsProperties
[...]
getPhysicsProperties
[...]
Bounding box
getBoundingBox
[...]
Update
update
[...]
Visibility
updateVisibility
[...]