Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Switching splines
#1
Hi, I'm using a custom controller for my game. I want to get references to new splines when I land on a new path. 

Basically I have a road, and at the end of the road you get to jump on to a different road and travel along it. (see below)

   

So now How can I get a reference to spline B or Spline C, after jumping from spline A.
If i get the spline references I can continue along the spline path using my custom code. 
I checked out the connections example scene but couldn't figure out how to code this out. 

Can I use an OnTriggerEnter function to check for a spline or something when I land on a new path? 
Any Help would be appreciated Thanks!
Reply


Messages In This Thread
Switching splines - by linkinballzpokemon - 04-12-2022, 05:40 PM
RE: Switching splines - by _Aka_ - 04-13-2022, 01:40 PM
RE: Switching splines - by linkinballzpokemon - 04-13-2022, 02:00 PM
RE: Switching splines - by _Aka_ - 04-13-2022, 04:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 2 14 4 hours ago
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  Using Unity's SplineContainer in Curvy Splines dlees9191 3 15 02-26-2024, 09:49 AM
Last Post: _Aka_

Forum Jump: