This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| dragengine:modules:dragonscript:behavior_avoidcollision [2025/05/11 13:14] – [avoidCollision.set] dragonlord | dragengine:modules:dragonscript:behavior_avoidcollision [2026/10/09 16:18] (current) – dragonlord | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| ====== Element Class Properties ====== | ====== Element Class Properties ====== | ||
| Element class properties have the prefix '' | Element class properties have the prefix '' | ||
| + | |||
| + | ===== collisionFilter ===== | ||
| + | |||
| + | Set [[gamedev: | ||
| + | * Full name: '' | ||
| + | * Type: string. Format can be '' | ||
| + | * Default Value: '' | ||
| + | * Example (*.deeclass) <code xml>< | ||
| ===== radius ===== | ===== radius ===== | ||
| Line 202: | Line 210: | ||
| | | ||
| < | < | ||
| - | <!-- optional: set collision filter. default value '3:0 1 2 3' which means | ||
| - | | ||
| - | | ||
| - | BaseGameApp.CollisionFilterBit.dynamic, | ||
| - | BaseGameApp.CollisionFilterBit.actorAI. | ||
| - | | ||
| - | are a list of bits to set. --> | ||
| - | <string name=' | ||
| - | | ||
| <!-- optional: use behavior tree with id instead of empty string --> | <!-- optional: use behavior tree with id instead of empty string --> | ||
| <string name=' | <string name=' | ||