Tanoda
|
This implementation of IGraspedMovementHandler moves an interaction object to its target position and rotation by setting its rigidbody's velocity and angular velocity such that it will reach the target position and rotation on the next physics update. More...
Public Member Functions | |
void | MoveTo (Vector3 solvedPosition, Quaternion solvedRotation, InteractionBehaviour intObj, 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... | |
Protected Attributes | |
float | _maxVelocity = 6F |
AnimationCurve | _strengthByDistance |
This implementation of IGraspedMovementHandler moves an interaction object to its target position and rotation by setting its rigidbody's velocity and angular velocity such that it will reach the target position and rotation on the next physics update.
Definition at line 20 of file NonKinematicGraspedMovement.cs.
void Leap.Unity.Interaction.NonKinematicGraspedMovement.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 28 of file NonKinematicGraspedMovement.cs.
|
protected |
Definition at line 22 of file NonKinematicGraspedMovement.cs.
|
protected |
Definition at line 25 of file NonKinematicGraspedMovement.cs.