Tanoda
|
This implementation of IGraspedMovementHandler moves its interaction object to a target position and rotation by setting its rigidbody position and rotation directly to that target position and rotation. This is required when working with kinematic rigidbodies, which do not move based on their velocity and angular velocity. More...
Public Member Functions | |
void | MoveTo (Vector3 solvedPosition, Quaternion solvedRotation, InteractionBehaviour interactionObj, bool justGrasped) |
Called by an interaction object when its grasped pose handler has determined a target pose; this method should attempt to move the interaction object to match that pose. More... | |
void | MoveTo (Vector3 solvedPosition, Quaternion solvedRotation, InteractionBehaviour interactionObj, bool justGrasped) |
Called by an interaction object when its grasped pose handler has determined a target pose; this method should attempt to move the interaction object to match that pose. More... | |
This implementation of IGraspedMovementHandler moves its interaction object to a target position and rotation by setting its rigidbody position and rotation directly to that target position and rotation. This is required when working with kinematic rigidbodies, which do not move based on their velocity and angular velocity.
Definition at line 22 of file KinematicGraspedMovement.cs.
void Leap.Unity.Interaction.KinematicGraspedMovement.MoveTo | ( | Vector3 | solvedPosition, |
Quaternion | solvedRotation, | ||
InteractionBehaviour | interactionObj, | ||
bool | justGrasped | ||
) |
Called by an interaction object when its grasped pose handler has determined a target pose; this method should attempt to move the interaction object to match that pose.
Implements Leap.Unity.Interaction.IGraspedMovementHandler.
Definition at line 24 of file KinematicGraspedMovement.cs.