PureBasic - Entity

Overview

Entities are objects composed of one mesh object and one material which can be freely moved and transformed in real-time. The library entity animation is available to animate an entity, based on a skeleton.

It's possible to share a mesh or a material between several entities, reducing memory consumption and saving CPU clocks.

InitEngine3D() should be called successfully before using the entity functions.

Command Index

AddSubEntity
ApplyEntityForce
ApplyEntityImpulse
ApplyEntityTorque
ApplyEntityTorqueImpulse
AttachEntityObject
CopyEntity
CreateEntity
CreateEntityBody
DetachEntityObject
DisableEntityBody
EnableManualEntityBoneControl
EntityAngularFactor
EntityBonePitch
EntityBoneRoll
EntityBoneX
EntityBoneY
EntityBoneYaw
EntityBoneZ
EntityBoundingBox
EntityCollide
EntityCustomParameter
EntityDirection
EntityDirectionX
EntityDirectionY
EntityDirectionZ
EntityFixedYawAxis
EntityID
EntityLinearFactor
EntityLookAt
EntityParentNode
EntityPitch
EntityRenderMode
EntityRoll
EntityVelocity
EntityX
EntityY
EntityYaw
EntityZ
FetchEntityMaterial
FreeEntity
FreeEntityBody
FreeEntityJoints
GetEntityAttribute
GetEntityCollisionGroup
GetEntityCollisionMask
HideEntity
IsEntity
MoveEntity
MoveEntityBone
RotateEntity
RotateEntityBone
ScaleEntity
SetEntityAttribute
SetEntityCollisionFilter
SetEntityMaterial

Example

Entity.pb

Supported OS

All

Reference Manual - Index