How to extract points from a CatMullRom Spline using Hotween
« on: September 15, 2015, 04:59:06 PM »
I purchases DOTween Pro last night. I've been using the non-pro version for some time and have been happy with it.

But I do have a question I hoped someone could help with with. I have two basic problems:

1)I need to move a object with tweening along splines.
2)I need to draw the spline that follows the path of the movement

DOTween is great for number 1. However, 2 is out of the scope of DOTween. I get that. However, you have all these great functions for moving objects. I just need a basic way to get positions along a spline using a percentage. If this is possible, I would appreciate some pointers.

Thanks in advance.

*

Daniele

  • Dr. Admin, I presume
  • *****
  • 378
    • View Profile
    • Demigiant
Re: How to extract points from a CatMullRom Spline using Hotween
« Reply #1 on: September 15, 2015, 05:55:05 PM »
Hi,

If you need to draw the spline, you can use the GetDrawPoints method I just added today (grab the latest version here).

Cheers,
Daniele

Re: How to extract points from a CatMullRom Spline using Hotween
« Reply #2 on: September 15, 2015, 06:05:01 PM »
I will give this a shot. Thanks!