Component
Physics
(NOTE) Defines the collision volume for a capsule defined by a height and radius. A capsule can be thought of as a cylinder with spherical end caps.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
Constructor | Direction | collider | |
Height | |||
Radius | |||
ScalingMode | |||
WorldCylinderHeight | |||
WorldRadius |
Properties
Direction : AxisDirection
The direction that the height is defined along. Allows the user to change whether the capsule's height is along the local-space x, y, or z axis.
var Direction : AxisDirection
Height : real
The local space distance from the center of one sphere to another.
var Height : Real
Radius : real
The local space radius of the spheres at the capsule edges.
var Radius : Real
ScalingMode : CapsuleScalingMode
How should non-uniform scale affect the capsules size. Should a scale of 2 on the height axis double the total capsule size or should it double the capsule height?
var ScalingMode : CapsuleScalingMode
WorldCylinderHeight : real
read-only
The full height of the capsule's cylinder after the scale is applied (world distance from one sphere to another).
var WorldCylinderHeight : Real
WorldRadius : real
read-only
The radius of the sphere caps after scale is applied.
var WorldRadius : Real
Methods
CapsuleCollider : Void
constructor
Name Type Description function CapsuleCollider()