Description
The Start
property of the CapsuleCollider
class represents the bottom point of the capsule in 3D space. It is a Vector3
type, which means it holds three-dimensional coordinates (x, y, z) that define the position of the capsule's starting point.
Usage
To use the Start
property, you need to have an instance of the CapsuleCollider
class. You can then get or set the Start
property to define or retrieve the bottom point of the capsule.
Example
// Example of setting the Start property of a CapsuleCollider
CapsuleCollider capsuleCollider = new CapsuleCollider();
capsuleCollider.Start = new Vector3(0, 0, 0); // Sets the bottom point of the capsule to the origin
// Example of getting the Start property
Vector3 startPoint = capsuleCollider.Start;
// startPoint now holds the coordinates of the bottom point of the capsule