Lens Studio v4.4+
Inherits from Shape
A capsule collision shape. Also known as a capped cylinder.
Lengthwise local axis along which the capsule is oriented.
Length of the capsule along its local axis. This is the distance between the two end-cap centers.
Radius of the capsule cylinder, and its end-cap spheres.
static createBoxShape() :
Create a BoxShape with default settings.
static createCapsuleShape() :
Create a CapsuleShape with default settings.
static createLevelsetShape() :
Create a LevelsetShape with default settings.
static createSphereShape() :
Create a SphereShape with default settings.
Returns the name of this object’s type.
isOfType(String type) :
Returns true if the object matches or derives from the passed in type.
isSame(ScriptObject other) :
Returns true if this object is the same as
other. Useful for checking if two references point to the same thing.
Still Looking for help?Visit Support