# Documentation
# ContactGloveComponent
# Send Vibration
Vibrates the glove.
# Inputs
name | type | description |
---|---|---|
Hand | EHandSides | Hand to vibrate |
Frequency | float | Vibration frequency |
Amplitude | float | Vibration strength |
Duration | float | Vibration duration |
# Set Haptics
Activates the haptic module.
# Inputs
name | type | description |
---|---|---|
Hand | EHandSides | Hand to activate haptic module |
Section | EColliderSection | Which finger's haptic module to activate |
Enable | bool | Whether to activate or deactivate |
# Get Controller Data
Gets controller information.
# Inputs
name | type | description |
---|---|---|
Hand | EHandSides | Hand to retrieve information |
# Outputs
name | type | description |
---|---|---|
Return Value | FControllerData | Controller information |
# Get Flex Data
Gets finger bending information.
# Inputs
name | type | description |
---|---|---|
Hand | EHandSides | Hand to retrieve information |
# On Controller Data
Event triggered when controller information is updated.
# Outputs
name | type | description |
---|---|---|
ControllerData | FControllerData | Controller information |
# On Left Flex Data
Event triggered when bending information of the left hand's fingers is updated.
# Outputs
name | type | description |
---|---|---|
FlexData | FFlexData | Bending information |
# On Right Flex Data
Event triggered when bending information of the right hand's fingers is updated.
# Outputs
name | type | description |
---|---|---|
FlexData | FFlexData | Bending information |
# On Controller Button Pressed
Event triggered when a button on the controller is pressed.
# Outputs
name | type | description |
---|---|---|
Hand | EHandSides | Left or right hand |
Button | EControllerBoolInputType | Pressed button |
# On Controller Button Released
Event triggered when a button on the controller is released.
# Outputs
name | type | description |
---|---|---|
Hand | EHandSides | Left or right hand |
Button | EControllerBoolInputType | Released button |
# EHandSides
Enumeration representing left or right hand.
name | type | description |
---|---|---|
Left | EHandSides | Left hand |
Right | EHandSides | Right hand |
# EColliderSection
Enumeration representing fingers with haptic modules.
name | type | description |
---|---|---|
ThumbDistal | EColliderSection | Thumb's distal joint |
IndexDistal | EColliderSection | Index finger's distal joint |
MiddleDistal | EColliderSection | Middle finger's distal joint |
RingDistal | EColliderSection | Ring finger's distal joint |
# EControllerBoolInputType
Enumeration representing controller buttons.
name | type | description |
---|---|---|
A | EControllerBoolInputType | A button |
B | EControllerBoolInputType | B button |
Home | EControllerBoolInputType | Home button |
JoystickButton | EControllerBoolInputType | Joystick button |
TrackpadTouch | EControllerBoolInputType | Trackpad |
# FControllerData
Structure representing controller information.
Hand, A, B, Home, JoystickButton, TrackpadTouch JoystickX, JoystickY, Trigger, GripValue, GripForce
name | type | description |
---|---|---|
Hand | EHandSides | Controller hand |
A | bool | Is A button pressed |
B | bool | Is B button pressed |
Home | bool | Is Home button pressed |
JoystickButton | bool | Is Joystick button pressed |
TrackpadTouch | bool | Is Trackpad touched |
JoystickX | float | Joystick X-axis value |
JoystickY | float | Joystick Y-axis value |
Trigger | float | Trigger value |
GripValue | float | Grip value |
GripForce | float | Grip force |
# FFlexData
Structure representing finger bending information.
name | type | description |
---|---|---|
Thumb | FThumbFlexData | Thumb bending |
Index | FFingerFlexData | Index finger bending |
Middle | FFingerFlexData | Middle finger bending |
Ring | FFingerFlexData | Ring finger bending |
Little | FFingerFlexData | Little finger bending |