This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_vrhandpointedat [2025/05/02 21:39] – [Behavior Factory] dragonlord | dragengine:modules:dragonscript:behavior_vrhandpointedat [2025/05/04 13:48] (current) – [vrHandPointedAt.check] dragonlord | ||
---|---|---|---|
Line 47: | Line 47: | ||
|count.greater|integer|Count of vr hands pointing at element is greater than integer value| | |count.greater|integer|Count of vr hands pointing at element is greater than integer value| | ||
|player|'' | |player|'' | ||
+ | |wait| |If present action returns BTResult.running instead of BTResult.failed to wait until the checks are all fulfilled| | ||
This is an example of using this action: | This is an example of using this action: | ||
Line 80: | Line 81: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ====== State Machine Actions ====== | ||
+ | |||
+ | Same as [[# | ||
+ | |||
+ | ====== State Machine Conditions ====== | ||
+ | |||
+ | Same as [[# | ||
+ | |||
+ | ====== State Machine Events ====== | ||
+ | |||
+ | This behavior sends these state machine events. If behavior has non-empty identifier replace '' | ||
+ | |||
+ | ===== vrHandPointedAt.start ===== | ||
+ | |||
+ | Hand starts pointing at element. | ||
+ | |||
+ | ===== vrHandPointedAt.stop ===== | ||
+ | |||
+ | Hand stops pointing at element. | ||
====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
Line 88: | Line 109: | ||
* [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | ||
+ | * [[behavior_statemachine|ECBehaviorStateMachine]]: | ||
====== Persistency ====== | ====== Persistency ====== | ||
Line 94: | Line 116: | ||
====== API Documentation ====== | ====== API Documentation ====== | ||
+ | |||
# | # | ||