This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
dragengine:modules:dragonscript:behavior_avoidcollision [2025/05/11 11:01] – dragonlord | dragengine:modules:dragonscript:behavior_avoidcollision [2025/05/11 13:14] (current) – [avoidCollision.set] dragonlord | ||
---|---|---|---|
Line 41: | Line 41: | ||
===== avoidCollision.set ===== | ===== avoidCollision.set ===== | ||
- | Set one or more force field parameters. | + | Set one or more avoid collision |
^Parameter^Value^Description^ | ^Parameter^Value^Description^ | ||
|waitBehindObstacles|'' | |waitBehindObstacles|'' | ||
|enabled|'' | |enabled|'' | ||
- | |stop| |Stop avoiding collision| | ||
This is an example of using this action: | This is an example of using this action: | ||
Line 52: | Line 51: | ||
<action name=' | <action name=' | ||
< | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== avoidCollision.update ===== | ||
+ | |||
+ | Update avoid collision. | ||
+ | |||
+ | ^Parameter^Value^Description^ | ||
+ | |stop| |Stop avoiding collision| | ||
+ | |||
+ | This is an example of using this action: | ||
+ | <code xml> | ||
+ | <action name=' | ||
+ | < | ||
</ | </ | ||
</ | </ |