|
| 14 Mar 2016 02:23 PM |
So I'm going to do this using RenderStepped and taking the position every 1/60 of a second, then find the speed that way. Is there a better way, and is it too heavy to use RenderStepped? Should I use HeartBeat instead?
|
|
|
| Report Abuse |
|
|
Locard
|
  |
| Joined: 13 Apr 2014 |
| Total Posts: 3516 |
|
|
| 14 Mar 2016 02:27 PM |
It depends on how often you need to use it. Just keep in mind that RenderStepped isn't always 1/60th of a second.
You can always take the average of every 10 frames and calculate it that way. |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2016 02:31 PM |
part.Velocity.magnitude???
Recommended username: UncoveredRay_revenge
|
|
|
| Report Abuse |
|
|
|
| 14 Mar 2016 02:32 PM |
Using RenderStepped makes a small script of about 20 lines have an activity of 21% That's probably a bad shout
|
|
|
| Report Abuse |
|
|
|
| 14 Mar 2016 02:34 PM |
@Ray,
I'm an idiot. Thank you :P
|
|
|
| Report Abuse |
|
|