Play with Bezier Curves
To use it, touch the blue ball and select "Rez" from the menu. Then move the ball and the white cylinder and sphere around with the edit tools. And the small
blue balls will move to show the curve.
p1, p2 and p3 are the control points. The vector pos of the blue ball and the two white prims.
mu is the time that you loop the bezier function though.
If you have any questions about this script, ask on the community forums.
https://community.secondlife.com/forums/topic/478827-catmull-rom-or-bezier-curves-in-game-play-animal-movement/page/5/#comment-2408264
- Sample script
- Full perm
The marketplace makes it hard with feedbacks: however - 5 stars for your fullperm open source contribution !
Please upvote our feedback here:
https://feedback.secondlife.com/web-features/p/improve-marketplace-review-rating-make-it-like-ebay
Visit the secondlife developer group here:
https://world.secondlife.com/group/d681285b-20a0-0e3d-28a7-f52bc3748604