Component:LegHapticPointMapper

From Resonite Wiki
Component image 
Leg Haptic Point Mapper component as seen in the Scene Inspector

The Leg Haptic Point Mapper works as part of the game's robust Haptics system to map haptics points in real life for the leg to the in game legs.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Priority Int The priority of this over other haptic elements
ShowDebugVisuals Bool Enables a sphere visual that lights up when touching haptic zones.
BoneChain list of Slot The list of slots to distribute the haptic points along for the leg.
NormalizedStart Float The start of where haptics points should be placed based on a normalized position from 0<->1 along the length of the leg, if all the bones were rotated to be along a straight line.
NormalizedEnd Float The end of where haptics points should be placed based on a normalized position from 0<->1 along the length of the leg, if all the bones were rotated to be along a straight line.
Side Chirality Specifies which controller/hand this component gives haptic data to.
UpAxis Float3 The axis on the leg which determines which way is up per bone, which is used to map haptic points from real life to in game.
ForwardAxis Float3 The axis on the leg which determines which way is forward per bone, which is used to map haptic points from real life to in game.
UpperLegRadius Float The radius of the upper leg, where haptics points should be placed on the surface, radii is lerped between the upper leg and knee.
KneeRadius Float The radius of the knee, where haptics points should be placed on the surface, radii is lerped between the upper leg and knee.
AnkleRadius Float The radius of the upper leg, where haptics points should be placed on the surface, radii is lerped between the knee and ankle.

Usage

Used in the robust Haptics system to map haptics points in real life for the leg to the in game legs.

Examples

Found by default on the upper legs of avatars.

See Also