This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_projecttoground [2025/05/02 21:35] – [Behavior Factory] dragonlord | dragengine:modules:dragonscript:behavior_projecttoground [2025/05/04 13:44] (current) – [projectToGround.check] dragonlord | ||
---|---|---|---|
Line 51: | Line 51: | ||
|enabled|'' | |enabled|'' | ||
|ground|'' | |ground|'' | ||
+ | |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 81: | Line 82: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ====== State Machine Actions ====== | ||
+ | |||
+ | Same as [[# | ||
+ | |||
+ | ====== State Machine Conditions ====== | ||
+ | |||
+ | Same as [[# | ||
+ | |||
+ | ====== State Machine Events ====== | ||
+ | |||
+ | This behavior sends these state machine events. | ||
+ | |||
+ | ===== projectToGround.enabled ===== | ||
+ | |||
+ | Project to ground has been enabled. | ||
+ | |||
+ | ===== projectToGround.disabled ===== | ||
+ | |||
+ | Project to ground has been disabled. | ||
+ | |||
+ | ===== projectToGround.touch ===== | ||
+ | |||
+ | Element is touching ground while previously has not been touching ground. | ||
+ | |||
+ | ===== projectToGround.noTouch ===== | ||
+ | |||
+ | Element is not touching ground while previously has been touching ground. | ||
====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
Line 89: | Line 118: | ||
* [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | ||
+ | * [[behavior_statemachine|ECBehaviorStateMachine]]: | ||
====== Persistency ====== | ====== Persistency ====== |