-
Notifications
You must be signed in to change notification settings - Fork 42
Add TriggerArea #1246
Copy link
Copy link
Closed
Labels
A-EngineB-CollisionsP-UrgentThis issue is a big priority, and it would be good to close it ASAPThis issue is a big priority, and it would be good to close it ASAPS-Needs-DesignDemands some time designing an implementationDemands some time designing an implementation
Metadata
Metadata
Assignees
Labels
A-EngineB-CollisionsP-UrgentThis issue is a big priority, and it would be good to close it ASAPThis issue is a big priority, and it would be good to close it ASAPS-Needs-DesignDemands some time designing an implementationDemands some time designing an implementation
Identifies a collider as an area without physical collision that detects collisions with other areas and bodies., and emits signals for these events.
Current Design
Components:
TriggerAreacomponentmonitoring- if true the area is active, otherwise it doesn't detect any collisionsmonitored- if true the area is detected by othersCollisionShapeand aColliderto work.The
TriggerAreacomponent should be defined in theCollisionsPlugin.Events:
TriggerAreacomponent the following relations should be created between the area entity and the other entity:Other details:
ContactManifoldfor any entity with theTriggerAreacomponent.We will want a new sample to demonstrate this.
Checklist
TriggerAreaComponent and add check to avoid computing contact manifold