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/12 19:35] – [Optional Behaviors] 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 28: | Line 28: | ||
| * [[gamedev: | * [[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 151: | 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 174: | 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 --> | ||