DOMMeshCollider

From Virtual World Web Wiki
Jump to: navigation, search

Represents a DOMCollider that is shaped like the mesh it's attached to. These are very accurate, but very expensive.

Remarks [edit]

Properties

Point3D BoundsCenter {get; set;}
bool Convex {get; set;}
True if this is a Conves mesh collider

Constructors

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