| CollisionObjectType Enumeration |
Defines the type of collision object.
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public enum CollisionObjectType
Public Enumeration CollisionObjectType
public enum class CollisionObjectType
Members
| Member name | Value | Description |
---|
| Default | 0 |
A normal collision object. When this type of collision object collides with another
collision object of type Default, the full contact details (contact points,
normal vectors, penetration depths, etc.) are computed and stored in the
ContactSets.
|
| Trigger | 1 |
A collision object that is used as a trigger and does not need contact details. When this
type of collision object collides with another collision object, contact details (contact
points, normal vectors, penetration depths, etc.) will be omitted. The flag
HaveContact will be set in the ContactSets for this
object. But the ContactSets will not contain any Contacts. Use
trigger collision objects instead of default collision objects to improve performance if
contact details are not required.
|
See Also