User Tools

Site Tools


dragengine:modules:dragonscript:behavior_bodytilting

Differences

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

Link to this comparison view

Next revision
Previous revision
dragengine:modules:dragonscript:behavior_bodytilting [2025/03/12 02:18] – created dragonlorddragengine:modules:dragonscript:behavior_bodytilting [2025/03/13 17:09] (current) dragonlord
Line 1: Line 1:
 {{tag>dragonscript behavior}} {{tag>dragonscript behavior}}
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[abstractions#behavior_elementsquick_and_easy_development|Behavior Elements: Quick and Easy Development]] >> **ECBehaviorBodyTilting**+[[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[dragengine:modules:dragonscript:abstractions|Abstraction Layers: How you want to build your Game]] >> [[dragengine:modules:dragonscript:behavior_elements|Behavior Elements]] >> **ECBehaviorBodyTilting**
 </WRAP> </WRAP>
  
Line 16: Line 16:
  
 To this behavior add it and either set the class properties or call setShape(), setOrigin() and setDirection() to initialize. Then use Locomotion.addControllerMapping() with ''Locomotion.ATTR_TILT_OFFSET'', ''Locomotion.ATTR_TILT_VERTICAL'' and ''Locomotion.ATTR_TILT_HORIZONTAL'' for animators supporting tilting. To this behavior add it and either set the class properties or call setShape(), setOrigin() and setDirection() to initialize. Then use Locomotion.addControllerMapping() with ''Locomotion.ATTR_TILT_OFFSET'', ''Locomotion.ATTR_TILT_VERTICAL'' and ''Locomotion.ATTR_TILT_HORIZONTAL'' for animators supporting tilting.
- + 
 +See also: 
 +  * [[dragengine:modules:dragonscript:locomotion#body_tilting|Locomotion]]
 ====== Instance Counts ====== ====== Instance Counts ======
 This behavior can be used only once on an element. This behavior can be used only once on an element.
Line 43: Line 45:
 ====== Required Behaviors ====== ====== Required Behaviors ======
  
-This behavior requires these other behaviors: 
   * [[behavior_locomotion|ECBehaviorLocomotion]]   * [[behavior_locomotion|ECBehaviorLocomotion]]
   * [[behavior_projecttoground|ECBehaviorProjectToGround]]   * [[behavior_projecttoground|ECBehaviorProjectToGround]]
dragengine/modules/dragonscript/behavior_bodytilting.1741745938.txt.gz · Last modified: 2025/03/12 02:18 by dragonlord