GeometricAreaOfEffectCollisionObject Property |
Namespace: DigitalRune.Physics.ForceEffects
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.