Meta_HapticNode
A HapticNode is added to Meta_Assembly much the same way as Meta_Collision, and allows the assembly to be felt by haptic devices.
Public Types
Property index.
Idx_Collides | bool - Is set to true while the haptic device is actively feeling this object, and false when it moves away |
Idx_Type | CollisionNodeType (int) - Type of haptic collision |
Idx_Enabled | bool - Enables haptics on this node |
Idx_Limit | Internal. |
Idx_Rule | Internal. |
Idx_Magnetic | bool - When enabled, this object can cause the haptic cursor to stick to it |
Idx_Stiffness | floatw - Controls how hard the surface of the object feels |
Idx_Damping | floatw - Controls the springiness of the surface |
Idx_Friction | floatw - Controls the resistance against the haptic cursor moving along the surface |
Idx_Popthrough | floatw - Controls how hard it is to push the cursor through the surface |
Values for Idx_Type.
TYPE_TOUCH | Node is touchable by the haptic device, providing force feedback (Symbols - C: "TypeTouch" , Lua: __HapticNode_TypeTouch ) |
TYPE_HOTSPOT | Node represents a bounding sphere, activated when the haptic cursor is inside. Triggers Touch and Break events to Meta_EventHandler (Symbols - C: "TypeHotspot" , Lua: __HapticNode_TypeHotspot ) |