Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generate path from point A to point B taking account of direction
#1
I've been looking at a number of different tweening packages but can't find out of the box support for what I need.

I want to move an aircraft-icon on a map from point A to point B, I have both points as vector3's, I also have the aircraft-icon's initial heading.
I want it to move forward a bit and then turn towards the direction of point B, it sounds simple enough, but I've attempted to set up points myself, and I can't get it to do something I'm happy with, is this something Curvy can do out of the box, or easily?
Reply
#2
Hi,
Yes, with Curvy you can do that. If I understand correctly your request, you want the icon to follow a curved path between two points A and B, a curve that exits A with a specific direction and enters B with a specific one.
If this is what you want to do, it is feasible by drawing a Bezier curve between A and B, and setting the in and out Bezier handles to match the exiting and entering directions. And then making the icon follow that curve (using a Spline Controller component)
If it can help, you can examples of some of the Curvy features in this webGL demo: https://curvyeditor.com/demo
Please let me know if I can further help.
Thanks and have a nice day.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Generating a path from selected point to the beginning of spline on a closed spline? Zendariel 5 407 10-29-2021, 01:57 PM
Last Post: _Aka_
  GameObjects that move along the path of Curvy Splines will protrude. yanke 5 409 10-26-2021, 09:59 AM
Last Post: _Aka_
  Autogenerate bezier curve with a given direction AnAsianPanda 3 551 08-06-2021, 09:08 AM
Last Post: _Aka_
  Questions about Generator: mesh/objects within spline, snap to control point dartboard 5 1,259 06-09-2021, 12:42 PM
Last Post: _Aka_

Forum Jump: