RW3eJoin Date: 2012-07-18 Post Count: 1516 |
I'm making a car telemetry GUI for a game of mine and I've decided to include the Rotational Velocity of the wheels. However I'm not entirely sure how to label it. I'm curious if it's in radians, full rotations or something else entirely and after how long it takes it again (Can't really explain this better, I meant is it, seconds, minutes, etc.)
I am currently using revolutions per minute (rpm,) if that matters at all. |
|
RW3eJoin Date: 2012-07-18 Post Count: 1516 |
bump |
|
RW3eJoin Date: 2012-07-18 Post Count: 1516 |
bump2 |
|
RW3eJoin Date: 2012-07-18 Post Count: 1516 |
bumping for days |
|
|
I did some tests and it APPEARS to be radians/second.
~Upload code to codepad-dot-org with Lua syntax highlighting to preserve indentation and make it easier to read!~ |
|
ScottiflyJoin Date: 2011-01-30 Post Count: 9180 |
|
|
|
That's strange, because when I set a BodyAngularVelocty or whatever's velocity to (0, 6.28, 0), it looked like it was completing a single rotation per second.
If it were doing that every frame it would've been going 60 rps
~Upload code to codepad-dot-org with Lua syntax highlighting to preserve indentation and make it easier to read!~ |
|
ScottiflyJoin Date: 2011-01-30 Post Count: 9180 |
Mayhaps it's a difference between BodyAngularVelocity and MaxVelocity...
|
|
HershBJoin Date: 2013-03-24 Post Count: 5361 |
2complex4me
#OS Care.exe not found. Try again later |
|
RW3eJoin Date: 2012-07-18 Post Count: 1516 |
By the way, my cars use VehicleSeats to move, not scripted Motors/hinges.
I know they're basically the same thing, but I just want to double check we ARE talking getting this information from VehicleSeats' manipulation of hinge surfaces and not just some motor. |
|
RW3eJoin Date: 2012-07-18 Post Count: 1516 |
talking about/getting* |
|
RW3eJoin Date: 2012-07-18 Post Count: 1516 |
I'm just going to rephrase that, it made almost no sense:
I just want to check that the Motor SurfaceType makes a part spin at the speed that a VehicleSeat makes a part spin. |
|
ScottiflyJoin Date: 2011-01-30 Post Count: 9180 |
I'm not exactly sure how the VehicleSeat hinge manipulation due to the MaxVelocity setting and a Motor's speed compare. |
|
ScottiflyJoin Date: 2011-01-30 Post Count: 9180 |
Why don't you just enable the VehicleSeat's GUI to tell you how fast the car is going and compare that to the RotationalVelocity value? Maybe do a little calculation to compare them and label it as Studs/Second or MPH, whichever you want. |
|
RW3eJoin Date: 2012-07-18 Post Count: 1516 |
I have, actually.
When my car is driving in a straight line at 155 Studs per second, its MaxSpeed, the wheels are turning at anywhere from about 99 [mystery unit] to about 107 [mystery unit].
Don't ask me why the RotVelocity value changes while it's going at the same exact speed, I don't know that either. |
|
RW3eJoin Date: 2012-07-18 Post Count: 1516 |
And if it matters at all, I already have a speedometer GUI that works the same way as the Blue VS gui. |
|
ScottiflyJoin Date: 2011-01-30 Post Count: 9180 |
I wonder if it is an average of all 4 wheels RotationalVelocity? Could be the reason for the fluctuations. |
|
NikJazzJoin Date: 2013-10-01 Post Count: 653 |
Oo! found another one!
ROBOTIC FRIENDS
Sonic Friends + Robot = Sonic Robotic Friends
SO NOW U CAN FIGHT THE ROBOTIC FRIENDS |
|
RW3eJoin Date: 2012-07-18 Post Count: 1516 |
piefox what are you talking about? |
|
|