-
-
Notifications
You must be signed in to change notification settings - Fork 2
IK Transform Mapping
eisclimber edited this page Apr 20, 2024
·
5 revisions
class in ExPresSXR.InverseKinematics / Extends MonoBehavior
Component added via Component Menu
Class that stores values and provides functionality for tracking an IK traget to another transform. For an Implementation use the Components IK Body Presence or IK Position Tracker.
-
Transform vrTarget
: The Transform that provides the target location. Use the Main Camera for the head and the hand's InteractionController for the hands. -
Transform ikTarget
: The Target of an Constraint that will be moved with the 'vrTarget'. -
Vector3 _positionOffset
: Additional positional offset that is applied to the 'ikTarget''s position. Use to align the hands 'hotspot' to the model. -
Quaternion _rotationOffset
: Additional positional offset that is applied to the _ikTarget's position. Use to align the tracked object's rotation.
-
void UpdateMapping()
: Tracks the 'ikTarget'to the 'vrTarget'. -
void InitializeMapping(Transform presenceRoot, bool moveRoot)
: Initializes the mapping. Should be called duringOnStart()
orOnAwake()
.
Autor: Luca 'eisclimber' Dreiling; License: MIT
- Getting Started
- Development and Contribution
- Misc
- Experimentation
- Data Gatherering
- Eye Tracking
- ExPresS XR Rig
- Interaction
- Base Button
- Button Quiz
- Collision Hand Rumbler
- Collision Sound Emitter
- Exit Game Interactable (Script Deprecated)
- Interactables
- Haptic Impulse Trigger
- Socket Interactors
- Inverse Kinematics
- Localization
- Minigames
- Coin Scale
- Coin Throw
- Sword Cleaning
- Misc
- Movement
- Presentation
- UI