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/13 13:52] – [projectToGround.check] dragonlord | dragengine:modules:dragonscript:behavior_projecttoground [2025/05/13 13:59] (current) – old revision restored (2025/05/11 13:20) dragonlord | ||
---|---|---|---|
Line 77: | Line 77: | ||
^Parameter^Value^Description^ | ^Parameter^Value^Description^ | ||
|interactElement.assign|string|Assign ground element to [[behavior_interactelement|ECBehaviorInteractElement]] with identifier matching value string. Action fails if not touching element or interact element behavior is absent| | |interactElement.assign|string|Assign ground element to [[behavior_interactelement|ECBehaviorInteractElement]] with identifier matching value string. Action fails if not touching element or interact element behavior is absent| | ||
- | |interact|string|Interact with stored | + | |interact|string|Interact with ground |
|interact.parameters|string|Optional parameters to use with '' | |interact.parameters|string|Optional parameters to use with '' | ||
+ | |||
This is an example of using this action: | This is an example of using this action: | ||
Line 100: | Line 101: | ||
|hitAngle.greater|float|Angle between collision normal and project to ground direction is greater than value in degrees| | |hitAngle.greater|float|Angle between collision normal and project to ground direction is greater than value in degrees| | ||
|landing|'' | |landing|'' | ||
- | |wait| |If present action returns BTResult.running instead of BTResult.failed to wait until the checks are all fulfilled| | ||
|interact.name|string|Name of interaction| | |interact.name|string|Name of interaction| | ||
- | |interact.has|'' | + | |interact.has|'' |
- | |interact.query|'' | + | |interact.query|'' |
|interact.parameters|string|Optional parameters to use with '' | |interact.parameters|string|Optional parameters to use with '' | ||
+ | |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 133: | Line 133: | ||
|projectToGround.landing|'' | |projectToGround.landing|'' | ||
|projectToGround.interact.name|string|Name of interaction| | |projectToGround.interact.name|string|Name of interaction| | ||
- | |projectToGround.interact.has|'' | + | |projectToGround.interact.has|'' |
- | |projectToGround.interact.query|'' | + | |projectToGround.interact.query|'' |
|projectToGround.interact.parameters|string|Optional parameters to use with '' | |projectToGround.interact.parameters|string|Optional parameters to use with '' | ||
- | |||
This is an example of using this condition: | This is an example of using this condition: |