generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Is it possible to detect the current speed of a vehicle?

Previous Thread :: Next Thread 
im2awsm is not online. im2awsm
Joined: 25 Aug 2010
Total Posts: 2295
22 Nov 2014 04:02 AM
Is this something that's possible? I considered using Velocity, but it changes depending on the direction of the car.
Report Abuse
AbdulsEbola is not online. AbdulsEbola
Joined: 24 Oct 2011
Total Posts: 9677
22 Nov 2014 05:49 AM
No not really
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
22 Nov 2014 06:01 AM
It's possible. You can check the studs/s by trying this:

local old = car.SomePart.Position;
while wait(0.08) do
print((old-car.SomePart.Position).magnitude*(1/0.08))
old=car.SomePart.Position;
end
Report Abuse
AbdulsEbola is not online. AbdulsEbola
Joined: 24 Oct 2011
Total Posts: 9677
22 Nov 2014 06:10 AM
LIER ABOVE THATS FALSE
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
22 Nov 2014 06:24 AM
Liar*
A lier is somebody who lies(down) rather than somebody who lies(fabrication)
Report Abuse
RA2lover is not online. RA2lover
Joined: 09 Nov 2008
Total Posts: 1254
22 Nov 2014 06:49 AM
velocity.magnitude

you may also want to cull it to the direction the vehicle is currently pointed at, but that's for later
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image