SBoxCollider
Index
Properties Index
Properties
Center
SVector Center get set
The position of the center of the Box Collider.
Center = Space.Host.ExecutingObject.BoxCollider.Center--clicking this object moves it's Box Collider's center one unit upwards
thisObject = Space.Host.ExecutingObject
OnClick = function()
center = thisObject.BoxCollider.Center
thisObject.BoxCollider.Center = Vector.New(center.X,center.Y + 1, center.Z)
end
thisObject.AddClickable()
thisObject.Clickable.OnClick(OnClick)Size
SVector Size get set
The size of the box.
Enabled
bool Enabled get set
Enabled Colliders will collide with other Colliders, disabled Colliders won't.
IsTrigger
bool IsTrigger get set
Is the collider a trigger?
GameObject
SGameObject GameObject get
Returns a reference to the GameObject of this component.
Last updated
Was this helpful?

