Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Way to make gameobject follow splines 'human-ly'?
#1
Is there a good way to make a gameobject follow a spline in a more 'human/unpredictable' manner, so that for example they weave in and out of the center-line of the path? This way, if you give two gameobjects the same objective of following a spline, they will move differently. This would be useful for making a racing game where the AI-players move more unpredictably. Thanks.
Reply
#2
Hi
The Spline Controller has two offset related parameters: Offset Angle and Offset Radius. You can write a script that will modify these values smoothly and pseudo randomly to give the unpredictable impression.
Did this help?
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
(01-16-2023, 10:59 AM)_Aka_ Wrote: Hi
The Spline Controller has two offset related parameters: Offset Angle and Offset Radius. You can write a script that will modify these values smoothly and pseudo randomly to give the unpredictable impression.
Did this help?

Yes, perfect. Thank you!
Reply
#4
You are welcome.
If and when you feel like it, please leave a review for the asset, that helps a lot.
Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Spawn at start/ end of splines rickgplus 4 312 03-21-2025, 12:34 PM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 149 03-18-2025, 10:11 PM
Last Post: _Aka_
Smile Simple splines movement shills 3 446 02-26-2025, 09:40 AM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 516 02-14-2025, 07:11 AM
Last Post: vatan

Forum Jump: