Click or drag to resize
DigitalRuneGeometricAreaOfEffectCollisionObject Property
Gets or sets the collision object that defines the area of effect.

Namespace: DigitalRune.Physics.ForceEffects
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public CollisionObject CollisionObject { get; set; }

Property Value

Type: CollisionObject
The collision object. The default is .
Remarks

This IAreaOfEffect uses the collision detection to define which objects are in the area of effect. Per default no CollisionObject is set, which means that no objects are in the area of effect. A CollisionObject must be created by the user and set in the property CollisionObject. The properties of the collision object must be set appropriately and the collision object must be added to the CollisionDomain of the Simulation by the user.

Performance Tip: If the CollisionObject is not used for other purposes it is good for performance if the Type is set to Trigger.

Collision Filtering: As with all other collision objects the standard collision filtering (see CollisionFilter) can be used to define which objects can collide with the CollisionObject.

See Also