DOMBoxCollider

From Virtual World Web Wiki
Jump to: navigation, search

Represents a box shaped DOMCollider

Remarks [edit]

Properties

Point3D ColliderSize {get; set;}
The width and height (X,Y respecitvely) of the box collider
bool Walkable {get; set;}
Should this collider be treated as an obstacle or a walkable surface?

Constructors

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