Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Controller speed questions
#1
Hi, again. Big Grin  As I was working, I checked the "align to spline" action a little bit closer. This thing does pretty much what the controller script does. So I thought why not use this instead of the controller script. Since cutting out scripts would make timings easier, especially if I want to change speed or position of objects on the spline, why not try this instead? So I have 2 questions regarding this.

1. How do I calculate the speed? If I used a controller set to absolute position and its speed is X with fixed update, how far should I move the object along the spline per frame to get the same result?

2. How do I transform the speed to Unitys transform? If I want to move the object off the spline but still keep the same speed it had on it, how do I calculate that?
Reply


Messages In This Thread
Controller speed questions - by Lupp_ - 01-17-2021, 09:04 PM
RE: Controller speed questions - by _Aka_ - 01-18-2021, 06:49 PM
RE: Controller speed questions - by Lupp_ - 01-18-2021, 07:24 PM
RE: Controller speed questions - by Lupp_ - 01-20-2021, 12:35 AM
RE: Controller speed questions - by _Aka_ - 01-20-2021, 07:55 PM
RE: Controller speed questions - by Lupp_ - 01-20-2021, 08:43 PM
RE: Controller speed questions - by _Aka_ - 01-20-2021, 09:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Smile Constant speed along a spline? tfishell 1 655 11-13-2025, 11:32 AM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 4,391 01-20-2025, 12:25 PM
Last Post: _Aka_
  Can't set CG Path Controller j95677 4 3,239 10-04-2024, 06:55 PM
Last Post: j95677
  How to use CG Volume Controller j95677 5 3,595 07-17-2024, 07:15 PM
Last Post: j95677

Forum Jump: