04-12-2022, 05:40 PM
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!
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!