This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_grabber [2022/02/05 18:36] – created dragonlord | dragengine:modules:dragonscript:behavior_grabber [2024/03/14 16:51] (current) – dragonlord | ||
---|---|---|---|
Line 16: | Line 16: | ||
To detect grab spots a touch sensor is added with a default sphere shape. By default the touch sensor is disabled and has to be enabled if the game logic allows grabbing. The collision filter category is set to BaseGameApp.CollisionFilterBit.trigger and the collision filter mask is set to BaseGameApp.CollisionFilterBit.dynamic. | To detect grab spots a touch sensor is added with a default sphere shape. By default the touch sensor is disabled and has to be enabled if the game logic allows grabbing. The collision filter category is set to BaseGameApp.CollisionFilterBit.trigger and the collision filter mask is set to BaseGameApp.CollisionFilterBit.dynamic. | ||
- | |||
- | Element class properties have the prefix " | ||
- | |||
====== Instance Counts ====== | ====== Instance Counts ====== | ||
Line 25: | Line 22: | ||
====== Element Class Properties ====== | ====== Element Class Properties ====== | ||
- | Element class properties have the prefix **vrHandPointAt.** or **vrHandPointAt(id).** if id is not empty. | + | Element class properties have the prefix **grabber.** or **grabber(id).** if id is not empty. |
===== shape ===== | ===== shape ===== | ||
Line 61: | Line 58: | ||
====== Optional Behaviors ====== | ====== Optional Behaviors ====== | ||
- | This behavior does not support optional behaviors. | + | * [[behavior_collider|ECBehaviorCollider]]: |
+ | * [[behavior_vrhand|ECBehaviorVRHand]]: | ||
====== Persistency ====== | ====== Persistency ====== | ||
Line 71: | Line 69: | ||
====== API Documentation ====== | ====== API Documentation ====== | ||
- | [[https:// | + | # |
Since DragonScript Module Version **1.9** | Since DragonScript Module Version **1.9** | ||
Line 107: | Line 105: | ||
</ | </ | ||
- | The [[https:// | + | The # |
====== Live Examples ====== | ====== Live Examples ====== | ||
* [[https:// | * [[https:// |