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.
This works as part of the game's robust [[Haptics]] system.
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Priority|Int|
|Priority|Int| The priority of this over other haptic elements
|ShowDebugVisuals|Bool|
|ShowDebugVisuals|Bool|Enables a sphere visual that lights up when touching haptic zones.
|BoneChain|{{RootFieldType|SyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv2=true| The list of slots to distribute the haptic points along for the leg.
|NormalizedStart|Float|
|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|
|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|
|Side|Chirality|Specifies which controller/hand this component gives haptic data to.
|UpAxis|Float3|
|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|
|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|
|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|
|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|
|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 ==
== Usage ==
Used in the robust [[Haptics]] system to map haptics points in real life for the leg to the in game legs.
== Examples ==
== Examples ==
Found by default on the upper legs of avatars.
== See Also ==
== See Also ==
* [[Haptics]]
[[Category:Components:Input:Haptics{{#translation:}}|Leg Haptic Point Mapper]]
[[Category:Components:Input:Haptics{{#translation:}}|Leg Haptic Point Mapper]]
[[Category:Components{{#translation:}}|Leg Haptic Point Mapper]]
[[Category:Components{{#translation:}}|Leg Haptic Point Mapper]]
[[Category:ComponentStubs]]
Latest revision as of 16:58, 1 June 2025
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.
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.
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.