11-25-2023, 07:49 PM
(This post was last modified: 11-25-2023, 08:25 PM by SAMYTHEBIGJUICY.)
(11-11-2023, 01:52 PM)_Aka_ Wrote: Hi Samy,
I see from the pics that each connection lead to two paths, while in the code I see code handling 3 paths. Does the game design say that there will be always only two paths (left and right)?
Hey yah so I set it up so that if there are only two connecting options, like a fork, then I will only have to drag in two CPs and only 2 options will show on the player's screen. But on a crossroads, there may be 3 options so you might be able to choose left, middle and right so then I will have to drag in 3 CPs and the system will populate the options from the CPs. Here is an example in-game with 3 options:
https://imgur.com/a/2AlLNUC
Just curious to see if there's a better way to do all of this because it seems really manual and prone to human error. For example just now when I tried to turn left, the spline is actually "backwards" so I end up teleporting to the other end of it.