immersive-home/docs/reference/lib--utils--touch--collide.md
2024-03-17 00:14:31 +01:00

4.9 KiB

Collide

Inherits: Node3D

Description

Calculates collision for fingers and FingerAreas

Properties

Name Type Default
bodies_entered Variant
finger_areas Dictionary
hand_left Node3D
hand_right Node3D

Methods

Returns Name
void _init ( hand_left: OpenXRHand, hand_right: OpenXRHand, finger_areas: Dictionary )
void _on_body_entered ( finger_type: Variant, body: Variant )
void _on_body_exited ( finger_type: Variant, body: Variant )
void _physics_process ( _delta: Variant )
void _ready ( )

Constants

Finger = <Object>

No description provided yet.

Property Descriptions

bodies_entered: Variant

Record<TouchBody3D, Array<Finger.Type>>

finger_areas: Dictionary

Record<Finger.Type, Area3D>

hand_left: Node3D

No description provided yet.

hand_right: Node3D

No description provided yet.

Method Descriptions

_init (hand_left: OpenXRHand , hand_right: OpenXRHand , finger_areas: Dictionary ) -> void

No description provided yet.

_on_body_entered (finger_type: Variant , body: Variant ) -> void

No description provided yet.

_on_body_exited (finger_type: Variant , body: Variant ) -> void

No description provided yet.

_physics_process (_delta: Variant ) -> void

No description provided yet.

_ready ( ) -> void

No description provided yet.