Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change the Track with controlling Speed
#1
Hello,
             Jake  i would like to know that how a track can be change from Track A to Track B.
i already have Connected  Track A point to Track B point.
                 
                    For Example :- for changing the track we need to click toggle after clicking toggle and if we are changing speed its going on Track A as previous position

how can i change the Track by controlling speed .I am using 12_Train Scene.

                                         

Thanks much
wali Ahmed.
Reply
#2
hello,...jack
this below threads is not useful to me ....can u sugest me with your reply .may be that can be useful to me..
thank you.
Reply
#3
In the train example the toggle's state is used by a callback function (TrainCarManager.cs, OnCPReached method) assigned to the train's SplineController. This function is called when a Control Point is reached and there the controller is set to use another spline, based on the toggle's state.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Avoiding runtime GC allocations on control point position change Ell223 8 18 02-24-2024, 10:43 AM
Last Post: _Aka_
  Manually controlling scale of each CP Maldruzard 1 5 03-27-2023, 10:58 AM
Last Post: _Aka_
Thumbs Up variable width and branching from main track for racing AdAstra 4 17 08-09-2022, 12:08 PM
Last Post: _Aka_
Brick Delete CurvySplineSegment from the start of a Spline causes UV's to change studentloan 5 7 06-14-2022, 03:14 PM
Last Post: _Aka_

Forum Jump: