How would I make a spline, that follows this path
The path that i would like it to follow:
The path with nodes:
How would I make a spline, that follows this path
The path that i would like it to follow:
The path with nodes:
Instead of using splines i recommend using Bezier. Since it would be way more efficient in your situation
the issue is that i have already used bezier curves. All i did to make that video was make an npc follow the path through lerping and bezier curves, with a line behind him, but i dont want to use that as i keep switching. Also splines are not very performance heavy.
how did you make the enemies move along the path though?
Using time based movement where the movement is based on
local t = (SpawnTime - CurrentGameTime) * Speed - AllPassedWaypointsMagnitude)
where i just set the position of the character using units
CurrentWaypointPositon + WaypointDirection * t