User Tools

Site Tools


dragengine:modules:dragonscript:behavior_touching

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_touching [2025/05/02 15:30] – [Behavior Tree Conditions] dragonlorddragengine:modules:dragonscript:behavior_touching [2025/05/02 15:30] (current) – [Behavior Tree Actions] dragonlord
Line 64: Line 64:
   <parameter name='enabled'>true</parameter>   <parameter name='enabled'>true</parameter>
 </action> </action>
 +</code>
 +
 +<code xml>
 +<sequence>
 +  <action name='touching.touchSensor.check'>
 +    <parameter name='player'>true</parameter>
 +  </action>
 +  <!-- actions here run only if player is touching touch sensor -->
 +</sequence>
 </code> </code>
  
dragengine/modules/dragonscript/behavior_touching.1746199820.txt.gz · Last modified: 2025/05/02 15:30 by dragonlord