Component
Physics
(NOTE) Defines the collision volume of a box defined by a size on each axis.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
Constructor | HalfSize | collider | |
Size | |||
WorldSize |
Properties
HalfSize : real3
The half size (from the center to the upper-right corner) on each axis of the box in local space. Used to make the box's size match a model or some other volume without needing to scale the transform (also avoids non-uniform scale issues).
var HalfSize : Real3
Size : real3
The size (from min to max) on each axis of the box in local space. Used to make the box's size match a model or some other volume without needing to scale the transform (also avoids non-uniform scale issues).
var Size : Real3
WorldSize : real3
read-only
The size of the box after the transform is applied (scale and rotation).
var WorldSize : Real3
Methods
BoxCollider : Void
constructor
Name Type Description function BoxCollider()