User Tools

Site Tools


dragengine:modules:dragonscript:behavior_locomotion

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_locomotion [2025/03/12 11:18] – created dragonlorddragengine:modules:dragonscript:behavior_locomotion [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]] >> **ECBehaviorLocomotion**+[[: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]] >> **ECBehaviorLocomotion**
 </WRAP> </WRAP>
  
Line 19: Line 19:
 Locomotion parameters have to be set on runtime. The behavior itself does not support initializing locomotion parameters. This is the case since locomotion parameters change a lot depending on what game situation an actor is located in. Use [[behavior_actoraiaction|ECBehaviorActorAIAction]], [[behavior_statemachine|ECBehaviorStateMachine]] or [[behavior_behaviortree|ECBehaviorBehaviorTree]] for this task. Locomotion parameters have to be set on runtime. The behavior itself does not support initializing locomotion parameters. This is the case since locomotion parameters change a lot depending on what game situation an actor is located in. Use [[behavior_actoraiaction|ECBehaviorActorAIAction]], [[behavior_statemachine|ECBehaviorStateMachine]] or [[behavior_behaviortree|ECBehaviorBehaviorTree]] for this task.
  
-The ECBehaviorLocomotion provides access to the #@LinkApiDocDEDS2_HTML~classDragengine_1_1Scenery_1_1Locomotion.html,locomotion class~@#. See [[dragengine:modules:dragonscript:locomotion|Locomotion]] for information on how to handle this locomotion class instance at runtime.+The ECBehaviorLocomotion provides access to the #@LinkApiDocDEDS2_HTML~classDragengine_1_1Scenery_1_1Locomotion.html,locomotion class~@# to modify at runtime. 
 + 
 +See also: 
 +  * [[dragengine:modules:dragonscript:locomotion|Locomotion]]
  
 ====== Instance Counts ====== ====== Instance Counts ======
Line 33: Line 36:
 ====== Required Behaviors ====== ====== Required Behaviors ======
  
-This behavior requires these other behaviors: 
   * [[behavior_colliderai|ECBehaviorColliderAI]] or [[behavior_collider|ECBehaviorCollider]]   * [[behavior_colliderai|ECBehaviorColliderAI]] or [[behavior_collider|ECBehaviorCollider]]
  
dragengine/modules/dragonscript/behavior_locomotion.1741778292.txt.gz · Last modified: 2025/03/12 11:18 by dragonlord