brettmorrisonAO5ANNEX / 3D_modeling_animations

0 stars 0 forks source link

t-pivot Animation #2

Closed brettmorrisonAO5ANNEX closed 7 months ago

brettmorrisonAO5ANNEX commented 7 months ago

I need to create an easy way to animate the t 'pivot' moving along its control polygon.

Screenshot 2024-01-12 at 10 21 27 PM
brettmorrisonAO5ANNEX commented 7 months ago

The fix I implemented was to define a unit vector in the direction from tracker to p2 as well as a span (the magnitude of the vector from the tracker center to p2 center). To animate the tracker moving, shift in the direction of the unit vector by a scale factor [-span, span]... one major issue is it is still possible for a user to shift beyond the bounds of the control points, but it works for my application, so I'll leave it for now.

Image-1 (2)