SpatialEntity

Inherits from Entity

Summary

Constructors

SpatialEntity(other: Entity)

Properties

Name Type
transform LinearTransform
aabb AxisAlignedBox
aabbTransform LinearTransform

Static members

Name Type
SpatialEntity.typeInfo TypeInformation

Constructors

SpatialEntity

SpatialEntity(other: Entity)

Parameters

Name Type Description
other Entity

Properties

transform

LinearTransform

Gets or sets the world transform of this entity.

NOTE: You must assign a new LinearTransfrom to update, changing individual vector components will not work

Example:

local myTransform = mySpatialEntity.transform
myTransform.trans.y = 1
mySpatialEntity.transform = myTransform

aabb

AxisAlignedBox

aabbTransform

LinearTransform

Static members

typeInfo

TypeInformation

Last modified October 28, 2020: Update indention on SpatialEntity (4333020)