Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing speed between ControlPoints
#1
Question 
Hi,

I'm looking to change the speed of an object attached to a spline after it travels pass each control point.
(E.g A race car slowing down for corners and speeding up after the corner)

How would I best achieve something like this?

Thanks in advance.
Reply
#2
Hi,
In your controller, you have a OnControlPointReached event. Use that ans set your new speed in the event handler.
Let me know if it does work
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Changing Volume Mesh UV ATHellboy 15 2,626 03-19-2020, 05:35 AM
Last Post: ATHellboy
  Generating multiple object on changing transform jawadkhan.9026 12 5,281 09-06-2019, 09:39 PM
Last Post: _Aka_
  Connections during speed change 3583Bytes 8 4,376 04-05-2019, 01:12 PM
Last Post: _Aka_
  Pitch and Speed sirak 1 1,796 11-23-2018, 02:48 PM
Last Post: _Aka_

Forum Jump: