๐Hand Follow
Last updated
Last updated
The HandFollow
class is responsible for managing the physics-based movement of a hand object in Unity, ensuring it follows a target transform with specified constraints on movement and rotation. This class is designed to work with the Hand
component and provides various settings for fine-tuning the following behavior.
Max Move To Distance
: The maximum allowed distance for moving to the target position.
Max Move To Angle
: The maximum allowed angle for rotating to the target rotation.
Max Follow Distance
: The distance at which the hand returns to the target if it gets stuck.
Max Velocity
: The maximum allowed velocity of the hand.
Follow Position Strength
: The speed at which the hand follows the target position.
Start Drag
: The initial drag value of the hand.
Drag Damper
: The drag multiplier to use when within a certain distance from the target.
Drag Damper Distance
: The distance at which the drag damper starts to take effect.
Min Velocity Change
: The minimum change in velocity for the hand.
Min Velocity Distance Multi
: A multiplier for the minimum velocity change based on distance.
Follow Rotation Strength
: The speed at which the hand follows the target rotation.
Start Angular Drag
: The initial angular drag value of the hand.
Angle Drag Damper
: The angular drag multiplier to use when within a certain angle distance from the target.
Angle Drag Damper Distance
: The angle distance at which the angular drag damper starts to take effect.
Min Mass
: The minimum mass of the hand. If you want this to work like Auto Hand V3.3 and earlier, set the min mass equal to the max mass
Max Mass
: The maximum mass of the hand.
Held Mass Divider
: A divider to reduce the mass of held objects.
Distance Mass Difference
: A factor to adjust the mass based on distance.
Distance Mass Max Distance
: The maximum distance for mass adjustment.
Angle Mass Difference
: A factor to adjust the mass based on angle.
Angle Mass Max Angle
: The maximum angle for mass adjustment.
Internal Public Getters
Last Angular Velocity
: The last recorded angular velocity of the hand.
Last Velocity
: The last recorded velocity of the hand.
Last Follow Delta Position
: The change in position since the last frame.
Last Follow Delta Rotation
: The change in rotation since the last frame.
Target Move To Position
: The target position to move to.
Target Move To Rotation
: The target rotation to move to.