DOMCapsuleCollider

From Virtual World Web Wiki
Jump to: navigation, search

Represents a capsule shaped DOMCollider. A capsule is a cylinder with a spheres at each end

Remarks [edit]

Properties

CapsuleDirection Direction {get; set;}
The direction along which the capsule lies
float Height {get; set;}
The height of the cylinder that makes up the body of the capsule
float Radius {get; set;}
The radius of the cylinder and spheres that make up the capsule

Constructors

DOMCapsuleCollider()
Constructs a new DOMCapsuleCollider with default settings
DOMCapsuleCollider(DOMObject[] children)
Constructs a new DOMCapsuleCollider, adding children at the same time
DOMCapsuleCollider(string title, DOMObject[] children)
Constructs a new DOMCapsuleCollider, setting a title and adding children at the same time