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 » Scripting Helpers
Home Search
 

Re: Antigrav script

Previous Thread :: Next Thread 
DlSCORD is not online. DlSCORD
Joined: 28 Oct 2011
Total Posts: 555
21 Apr 2014 10:52 AM
Does anyone know the exact force needed to lift one cubic unit of a material where the SpecificGravity is 1?

My estimate came to around 280, but I'm not sure.
Report Abuse
DlSCORD is not online. DlSCORD
Joined: 28 Oct 2011
Total Posts: 555
21 Apr 2014 10:54 AM
Bump..

I tested it on 4x4x4 cubes and 20x20x20 cubes and it comes close, but it still looks like it moved a little when I apply the opposite force.
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
21 Apr 2014 11:21 AM
196.2 * mass, probably.
Report Abuse
DlSCORD is not online. DlSCORD
Joined: 28 Oct 2011
Total Posts: 555
21 Apr 2014 11:39 AM
Thanks, but that number was probably meant to be used with plastic which has a SpecificGravity of 0.7

and if you divide that number by 0.7, you get a number close to 280.3


I found that using 282 is almost exactly the force needed to counter the gravitational force.



The formula to get gravity:
Gravity = -Mass*SpecificGravity*282
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
21 Apr 2014 11:40 AM
Is this in water or not?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
21 Apr 2014 11:57 AM
196.2 is.

Test this (make sure the part is "asleep" (not moving in any way, but also not anchored)

Instance.new("BodyForce", part).force = Vector3.new(0, part:GetMass() * 196.2, 0)
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
21 Apr 2014 12:21 PM
I'm confused because he mentioned specific gravity, which is to do with buoyancy
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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