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: How to calculate acceleration and G's?

Previous Thread :: Next Thread 
FancyMikeMan is not online. FancyMikeMan
Joined: 31 Dec 2011
Total Posts: 52
12 Nov 2017 04:29 PM
I'm making a game and need acceleration and g's in the GUI, but have absolutely no idea how to calculate it. I have a basic idea of how to calculate acceleration that doesn't work, but G's is beyond me.


Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
12 Nov 2017 05:17 PM
Continuously take the difference in velocities of a part over a period of time that you can you pick.

In Roblox one G is 196.2 studs/s^2, so you'd just divide acceleration by that to get G's.
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
12 Nov 2017 05:28 PM
20 studs is 1 meter

print((object.Velocity.Y/20).." meters per second")
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
12 Nov 2017 05:37 PM
G's are a measure of acceleration. -_-

Reflect on this.
"How do I calculate speed AND miles per hour? I can do speed I think, but not miles per hour."


Report Abuse
codironblade is not online. codironblade
Joined: 12 Nov 2014
Total Posts: 91
12 Nov 2017 06:36 PM
local acc = (velocity1-velocity0).magnitude / interval

local Gs = acc / workspace.Gravity
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