This shows you the differences between two versions of the page.
dragengine:modules:dragonscript:behavior_vrhandaction [2022/03/02 20:57] – created dragonlord | dragengine:modules:dragonscript:behavior_vrhandaction [2024/03/14 16:44] (current) – dragonlord | ||
---|---|---|---|
Line 11: | Line 11: | ||
Behavior adding Action support to VR hands. | Behavior adding Action support to VR hands. | ||
- | Allows instance of [[https:// | + | Allows instance of # |
- | Actions allow actors to perform a specific, well defined and enclosed action like interacting with an object for each hand separately. These actions run after the main actor action as provided by [[https:// | + | Actions allow actors to perform a specific, well defined and enclosed action like interacting with an object for each hand separately. These actions run after the main actor action as provided by # |
====== Instance Counts ====== | ====== Instance Counts ====== | ||
Line 25: | Line 25: | ||
Thie behavior adds no element class properties. | Thie behavior adds no element class properties. | ||
- | Using this behavior in code you should call ECBehaviorVRHandAction.setActionFactory() to set the factory creating the initial action for the hand to use. By default an instance of [[https:// | + | Using this behavior in code you should call ECBehaviorVRHandAction.setActionFactory() to set the factory creating the initial action for the hand to use. By default an instance of # |
====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
Line 42: | Line 42: | ||
====== API Documentation ====== | ====== API Documentation ====== | ||
- | [[https:// | + | # |
Since DragonScript Module Version **1.10** | Since DragonScript Module Version **1.10** | ||
Line 52: | Line 52: | ||
====== Element Class Example ====== | ====== Element Class Example ====== | ||
- | The [[https:// | + | The # |
The following example creates an element class adding the action elements manually. | The following example creates an element class adding the action elements manually. |