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
  Instantiating Prefab on the spline for infinite track hjk27 3 174 08-02-2018, 12:51 PM
Last Post: _Aka_
  Spline Controller Animate - Don't understand the Speed and TimeScale properties GenericJoe 12 1,265 07-20-2018, 09:02 PM
Last Post: GenericJoe
  Extending the controller, changing speed HundredTai 4 547 06-07-2018, 06:04 PM
Last Post: _Aka_
  Movement speed mythstified 3 437 06-01-2018, 03:37 PM
Last Post: _Aka_

Forum Jump: