12-04-2015, 03:13 AM
This Curvy thing is awesome. After following the tutorial, I have an object following a spline. However, I'm trying to get full manual control over the speed of the object. I need to use an externally generated value to move the object a a rate represented by that number (for example: 50 mph). The speed value will change from zero to some real vehicle speed maximum (like 150 mph or so) So, for example, the game begins, the externally generated number changes from zero to some positive non-zero value and the object following the spline path needs to track in the spline at whatever speed that value is, updated continuously. I already have the externally generated value for speed in code. It can't have any other influence over the speed. Simply jump instantaneously to the external number supplied for the speed. Trying to connect the variable up to the spline controller but I can't see how to do it. Maybe the solution is right in front of me and I'm just not seeing it? Anyone?
Thanks
Thanks