Fishing Rod

 
 
 

Returns the rotation needed to keep an offset position within a distance range from a target, if possible. When the target is outside the range, the returned value will rotate the offset away from or toward the target.

Category: Rotation

Output Ports: Result

Orientation

The default orientation of the hinge or joint to rotate. When Target Position is within the distance range of Position + Offset Vector, this value is returned.

Position

The position of the hinge or joint to rotate.

Offset Vector

The offset from Position to move toward or away from the target.

Target Position

The position to try to keep within the distance range of Position + Offset Vector as much as possible.

Min Line Length

The minimum of the distance range.

Min Line Length Softness

The ease-in of the rotation as the target approaches the minimum of the distance range. When this value is 0.0, the returned rotation starts changing abruptly when the target is outside the distance range.

Max Line Length

The maximum of the distance range.

Max Line Length Softness

The ease-in of the rotation as the target approaches the maximum of the distance range. When this value is 0.0, the returned rotation starts changing abruptly when the target is outside the distance range.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License