This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dragengine:modules:dragonscript:behavior_collider [2025/03/11 19:53] – [Events] dragonlord | dragengine:modules:dragonscript:behavior_collider [2025/04/30 14:40] (current) – [Instance Counts] dragonlord | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{tag> | {{tag> | ||
| <WRAP youarehere> | <WRAP youarehere> | ||
| - | [[: | + | [[: |
| </ | </ | ||
| Line 25: | Line 25: | ||
| Hence these two use cases are possible depending on the order the behaviors are added: Shape Collision, Component Collision. See [[# | Hence these two use cases are possible depending on the order the behaviors are added: Shape Collision, Component Collision. See [[# | ||
| + | See also: | ||
| + | * [[gamedev: | ||
| ====== Instance Counts ====== | ====== Instance Counts ====== | ||
| - | This behavior can only be addec once on an element. | + | This behavior can only be added once on an element. |
| ====== Element Class Properties ====== | ====== Element Class Properties ====== | ||
| Line 83: | Line 85: | ||
| ====== Optional Behaviors ====== | ====== Optional Behaviors ====== | ||
| - | This behavior supports these optional behaviors: | ||
| * [[behavior_component|ECBehaviorComponent]]: | * [[behavior_component|ECBehaviorComponent]]: | ||
| Line 150: | Line 151: | ||
| < | < | ||
| <!-- no behavior has been added before so no component behavior will be used --> | <!-- no behavior has been added before so no component behavior will be used --> | ||
| - | | + | |
| + | <!-- optional: set collision filter. default value '0:1 2 3 5' which means | ||
| + | | ||
| + | | ||
| + | BaseGameApp.CollisionFilterBit.actor, | ||
| + | BaseGameApp.CollisionFilterBit.actorAI, | ||
| + | BaseGameApp.CollisionFilterBit.particle. | ||
| + | | ||
| + | are a list of bits to set. --> | ||
| + | <string name=' | ||
| <!-- set element properties. omit property prefix if used inside behavior tag --> | <!-- set element properties. omit property prefix if used inside behavior tag --> | ||
| <string name=' | <string name=' | ||
| Line 173: | Line 184: | ||
| use the id here --> | use the id here --> | ||
| <string name=' | <string name=' | ||
| + | |||
| + | <!-- optional: set collision filter. default value '0:1 2 3 5' which means | ||
| + | | ||
| + | | ||
| + | BaseGameApp.CollisionFilterBit.actor, | ||
| + | BaseGameApp.CollisionFilterBit.actorAI, | ||
| + | BaseGameApp.CollisionFilterBit.particle. | ||
| + | | ||
| + | are a list of bits to set. --> | ||
| + | <string name=' | ||
| | | ||
| <!-- set element properties. omit property prefix if used inside behavior tag --> | <!-- set element properties. omit property prefix if used inside behavior tag --> | ||