Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Movement speed
#1
Curious about something

This is a pretty typical object translation 

Code:
transform.position += transform.forward * MoveSpeed * Time.deltaTime;

If MoveSpeed = 5.7, would that be the same speed as if I put 5.7 into the Movement Speed along a spline?

I'm making an object shape the player that's aligned to a spline, but this chaser won't be on a spline.. so the numbers have to relate.  Right now, 5.7 makes the chaser MUCH faster than my player.
Reply
#2
(05-30-2018, 09:16 PM)mythstified Wrote: If MoveSpeed = 5.7, would that be the same speed as if I put 5.7 into the Movement Speed along a spline?

Yes, it should. Make sure that Move Mode is not set to Relative, in which case 5.7 would not mean 5.7 meters per second, but 5.7 times the spline length per second.
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply
#3
(05-30-2018, 11:24 PM)_Aka_ Wrote:
(05-30-2018, 09:16 PM)mythstified Wrote: If MoveSpeed = 5.7, would that be the same speed as if I put 5.7 into the Movement Speed along a spline?

Yes, it should. Make sure that Move Mode is not set to Relative, in which case 5.7 would not mean 5.7 meters per second, but 5.7 times the spline length per second.

I have it set like this.. my Bear is running me down with super sonic speed lol  I'll keep experimenting


Attached Files Thumbnail(s)
   
Reply
#4
I don't see anything wrong from the screenshot, except the speed of 0 which I guess is set to a non zero value in your tests.
Can you send me the scene so I can see what's going on?
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Left-right movement, and spline follow shihaya 3 10 07-12-2024, 12:50 PM
Last Post: _Aka_
  Controler Speed from metadata Bryan Thatcher 4 10 06-25-2024, 11:18 AM
Last Post: _Aka_
Question VolumeController CrossRelativePosition Very Choppy Movement pako88 5 10 06-07-2024, 03:43 PM
Last Post: _Aka_
  Add noise to spline controller movement DekoGames 2 10 02-06-2024, 01:28 PM
Last Post: DekoGames

Forum Jump: