This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dragengine:modules:dragonscript:behavior_vrhandpose [2025/03/12 22:57] – created dragonlord | dragengine:modules:dragonscript:behavior_vrhandpose [2025/05/14 10:38] (current) – dragonlord | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{tag> | {{tag> | ||
| <WRAP youarehere> | <WRAP youarehere> | ||
| - | [[: | + | [[: |
| </ | </ | ||
| Line 214: | Line 214: | ||
| This behavior has no events. | This behavior has no events. | ||
| + | |||
| + | ====== Behavior Tree Actions ====== | ||
| + | |||
| + | This behavior adds these behavior tree actions if behavior tree is present. If behavior has non-empty identifier replace '' | ||
| + | |||
| + | ===== vrHandPose.update ===== | ||
| + | |||
| + | Update VR hand pose. | ||
| + | |||
| + | ^Parameter^Value^Description^ | ||
| + | |controllers| |Update controllers| | ||
| + | |applyAnimations| |Apply animations| | ||
| + | |||
| + | This is an example of using this action: | ||
| + | <code xml> | ||
| + | <action name=' | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ====== Behavior Tree Conditions ====== | ||
| + | |||
| + | This behavior adds no behavior tree conditions. | ||
| + | |||
| + | ====== State Machine Actions ====== | ||
| + | |||
| + | Same as [[# | ||
| + | |||
| + | ====== State Machine Conditions ====== | ||
| + | |||
| + | Same as [[# | ||
| + | |||
| + | ====== State Machine Events ====== | ||
| + | |||
| + | This behavior sends no state machine events. | ||
| ====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
| Line 221: | Line 256: | ||
| ====== Optional Behaviors ====== | ====== Optional Behaviors ====== | ||
| - | This behavior | + | * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: |
| + | * [[behavior_statemachine|ECBehaviorStateMachine]]: | ||
| ====== Persistency ====== | ====== Persistency ====== | ||
| Line 281: | Line 317: | ||
| <!-- required: use vr hand with id. --> | <!-- required: use vr hand with id. --> | ||
| <string name=' | <string name=' | ||
| + | | ||
| + | <!-- optional: add behavior trees. default adds all behavior trees. --> | ||
| + | <list name=' | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | | ||
| + | <!-- optional: add state machines. default adds all state machines. --> | ||
| + | <list name=' | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| | | ||
| <!-- set element properties. omit property prefix if used inside behavior tag --> | <!-- set element properties. omit property prefix if used inside behavior tag --> | ||
| <float name=' | <float name=' | ||
| </ | </ | ||
| - | | + | |
| <!-- for adding multiple behaviors use unique identifiers --> | <!-- for adding multiple behaviors use unique identifiers --> | ||
| < | < | ||