Actor (Data Type)¶
- Table of contents
- Actor (Data Type)
- Description
- Members
- Notes
Description¶
This DataType includes all of the data available to ISXVG that is related to entities within the world.
Members¶
-
string
Name
-
float
X
-
float
Y
-
float
Z
-
float
Distance
- pawn
ToPawn
- If the actor is not a pawn type, this will return NULL
-
bool
IsCollidable
-
float
CollisionRadius
-
float
CollisionHeight
-
float
HeadingTo
-
point3f
Location
Notes¶
The actor TLO and data type are used to get information about any/all objects in the game world. This is different from the pawn TLO and data type, which is generally used to get information about interactive objects in the game world. All pawn objects are also actor objects, but not all actor objects are pawn objects. This is why the ToPawn
member of the actor object can return a NULL, but the ToActor
member of the pawn object should always return a valid actor object.