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
  Set Volume to the Volume Controller at Runtime pako88 2 10 04-08-2024, 03:26 PM
Last Post: _Aka_
  Add noise to spline controller movement DekoGames 2 10 02-06-2024, 01:28 PM
Last Post: DekoGames
  Controller behavior like E21_VolumeControllerInput ashuraVlad 3 11 06-22-2023, 09:26 AM
Last Post: _Aka_
  how to make fast moving controller go all the way to linear points?(curvy8) hawken 7 12 06-06-2023, 09:47 AM
Last Post: _Aka_

Forum Jump: