User Tools

Site Tools


dragengine:modules:dragonscript:behavior_avoidcollision

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
dragengine:modules:dragonscript:behavior_avoidcollision [2025/05/11 11:01] dragonlorddragengine: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 parameters.
  
 ^Parameter^Value^Description^ ^Parameter^Value^Description^
 |waitBehindObstacles|''true'', ''false''|Wait behind obstacles instead of moving around them| |waitBehindObstacles|''true'', ''false''|Wait behind obstacles instead of moving around them|
 |enabled|''true'', ''false''|Enable avoid collision| |enabled|''true'', ''false''|Enable avoid collision|
-|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='avoidCollision.set'> <action name='avoidCollision.set'>
   <parameter name='enabled'>true</parameter>   <parameter name='enabled'>true</parameter>
 +</action>
 +</code>
 +
 +===== avoidCollision.update =====
 +
 +Update avoid collision.
 +
 +^Parameter^Value^Description^
 +|stop| |Stop avoiding collision|
 +
 +This is an example of using this action:
 +<code xml>
 +<action name='avoidCollision.update'>
 +  <parameter name='stop'/>
 </action> </action>
 </code> </code>
dragengine/modules/dragonscript/behavior_avoidcollision.1746961280.txt.gz · Last modified: 2025/05/11 11:01 by dragonlord