Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nearest Point
#1
Hi guys, 

Total newbie here....

I have set up the script to move to nearest point like in the demo. But is there a way for this object to jump to the next point ahead of the player?

So instead of following it fly's ahead?

I suppose a dirty way of doing this would be to have an empty game object with a faster speed on the first spline then have the secondary follower to follow this instead.

but is there an easy way of doing this through code?
Reply


Messages In This Thread
Nearest Point - by PretzelStudios - 04-20-2019, 01:13 PM
RE: Nearest Point - by PretzelStudios - 04-20-2019, 03:26 PM
RE: Nearest Point - by _Aka_ - 04-22-2019, 12:00 PM
RE: Nearest Point - by PretzelStudios - 04-23-2019, 10:02 PM
RE: Nearest Point - by _Aka_ - 04-24-2019, 02:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting Distance from a World Point zorksox 3 5 04-16-2024, 07:30 PM
Last Post: _Aka_
  Avoiding runtime GC allocations on control point position change Ell223 8 18 02-24-2024, 10:43 AM
Last Post: _Aka_
  Connection "next' control point jh092 3 15 11-22-2023, 11:47 AM
Last Post: _Aka_
  Spline.Length not updated unless I add a point to spline (or modify it) first. _RicO 3 6 08-26-2023, 08:41 AM
Last Post: _Aka_

Forum Jump: