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: Determining weight in Roblox

Previous Thread :: Next Thread 
1waffle1 is online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
30 May 2013 10:44 PM
Distance and gravity and whatnot has easily been determined, but what about weight and mass? How much does a certain plastic block weigh?

I was trying to figure out how to determine what this would be, and then I realized that Roblox does actually have a real life constant that can be used relatively: water.

1 terrain cell of water = 4 studs cubed = 64 cubic studs = 12.8 cubic cm = 12.8 milliliters
1 milliliter ~ 1 gram
1 terrain cell of water ~ 1 gram

1 cubic stud of water = 1 terrain cell of water / 64 = .2 grams

specific gravity of plastic in Roblox = .7
.2*.7 = .14 g/cubic stud

largest plastic block = 2048x2048x2048 (about 8.4x the volume of the entire terrain object)
2048 studs cubed * .14g/cubic stud ~ 1.2026 Gg ~ 1325.6 tons

The heaviest material is DiamondPlate, which has a SpecificGravity of 7.85

.2*7.85 = 1.57 g/cubic stud

2048 studs cubed * 1.57 g/cubic stud ~ 13.4862 Gg ~ 14866 tons

hooray.
Report Abuse
1waffle1 is online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
30 May 2013 10:46 PM
1 terrain cell of water ~ 12.8 grams, not 1 gram
all of the other math is based on 1 terrain cell of water being 12.8 grams
Report Abuse
1waffle1 is online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
30 May 2013 10:50 PM
So the typical Roblox character weights about as much as a nickel.
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
30 May 2013 11:24 PM
part:GetMass()

Sorry you did all this work. Here's a puppy to make you feel better http://www.roblox.com/Puppy-item?id=117462288
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
30 May 2013 11:43 PM
mass ~= wieght
Report Abuse
Parthax is not online. Parthax
Joined: 27 Apr 2011
Total Posts: 6941
30 May 2013 11:48 PM
Arceus, you should know that mass is the amount of matter, and weight is gravity's force on that matter.
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
31 May 2013 12:36 AM
"what about weight and mass?"
Report Abuse
loleris is online. loleris
Joined: 23 Feb 2009
Total Posts: 1610
31 May 2013 06:22 AM
Guys - I'd say 1 stud = 1 foot, since the character's foot is equal to 1 stud.
So...

1 Foot = 1 Stud = 0.3048 meters
1 cubical stud = 0.0283 cubical meters
1 block of water = 64 x 0.0283 = 1.8112 cubical meters = 1811.2 liters

Continue the maths yourself now.
Report Abuse
Guarranteed is not online. Guarranteed
Joined: 06 Dec 2010
Total Posts: 2799
31 May 2013 07:31 AM
That isn't very logical.. but alright. @loleris
Report Abuse
awsumpwner27 is not online. awsumpwner27
Joined: 03 Sep 2011
Total Posts: 4389
31 May 2013 07:50 AM
local Weight = Part:GetMass() * 196.2

i.e. F = ma

Yes, weight is a measurement of force. Specifically, the force exerted on an object due to gravity.

e.g. You have mass in outer space, but you are weightless.

The Prime Jester of Scripters has spoken.
Report Abuse
1waffle1 is online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
31 May 2013 09:54 AM
@Arceus You just ignored everything after the first sentence. Stop being so ignorant.

@loleris No, you're absolutely wrong. 1 stud = 5 cm, anything else is wrong.
Report Abuse
1waffle1 is online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
31 May 2013 09:56 AM
GetMass returns volume, not mass, not weight, not anything measured in real-life units. It returns a number that represents the number of cubic studs that fit inside the part. It is, though, absolutely irrelevant to this entire thread. Stop being stupid.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
31 May 2013 10:00 AM
We cannot accurately judge an object's 'weight' because we don't have gravitational physics on ROBLOX, we can merely opinionate an object's weight by how fast it falls downwards.
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
31 May 2013 11:06 AM
Just out of curiosity, where are you people getting this 196.2 number? I see it on every post about gravity/weight and I realize it's essential for getting weight, but I'm not seeing the logic behind the number being 196.2.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
31 May 2013 11:09 AM
@Arceus
Because ROBLOX.
Report Abuse
1waffle1 is online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
31 May 2013 01:47 PM
"XWXeX XcXaXnXnXoXtX XaXcXcXuXrXaXtXeXlXyX XjXuXgXeX XaXnX XoXbXjXeXcXtX'XsX X'XwXeXiXgXhXtX'X XbXeXcXaXuXsXeX XwXeX XoXnX'XtX XhXaXvXeX XgXrXaXvXiXtXaXtXiXoXnXaXlX XpXhXyXsXiXcXsX XoXnX XRXOXBXLXOXXX"X
X
XWXeX XcXaXnX XaXcXcXuXrXaXtXeXlXyX XjXuXgXeX XiXtX'XsX XwXeXiXgXhXtX XbXyX XmXuXlXtXiXpXlXyXiXnXgX XiXtX'XsX XmXaXsXsX X(XGXeXtXMXaXsXsX*XSXpXeXcXiXfXiXcXGXrXaXvXiXtXyX)X XbXyX XtXhXeX XgXrXaXvXiXtXaXtXiXoXnXaXlX XaXcXcXeXlXeXrXaXtXiXoXnX X(X1X9X6X.X2X XsXtX/XsX)X XiXnX XRXoXbXlXoXxX XtXeXrXmXsX.X XTXoX XcXoXnXvXeXrXtX XtXoX XaX XrXeXaXlX XlXiXfXeX XeXqXuXiXvXaXlXeXnXtX,X XyXoXuX XuXsXeX XtXhXeX XSXpXeXcXiXfXiXcXGXrXaXvXiXtXyX XaXnX XtXhXeX XwXeXiXgXhXtX XoXfX XwXaXtXeXrX XaXsX XaX XpXoXiXnXtX XoXfX XrXeXlXaXtXiXvXiXtXyX XbXeXcXaXuXsXeX XiXtX XiXsX XaXcXtXuXaXlXlXyX XaX XrXeXaXlX XlXiXfXeX XmXeXaXsXuXrXeXmXeXnXtX.X

This "swear word" filter is just awful, isn't it?
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
31 May 2013 01:49 PM
Indeed it is.

You can avoid it in game using humanoids and newlines too :l
Report Abuse
tightman17 is not online. tightman17
Joined: 04 Jun 2009
Total Posts: 2932
31 May 2013 01:49 PM
@1waffle1,

How long did it take to figure all of this out?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 May 2013 01:50 PM
Find and replace "X" to nothing :)
Report Abuse
1waffle1 is online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
31 May 2013 01:55 PM
@tight All I needed to do was realize that water and specificgravity were real-life constants that Roblox shared (just like gravitational acceleration.)
Report Abuse
Anaminus is not online. Anaminus
Top 100 Poster
Joined: 29 Nov 2006
Total Posts: 5945
31 May 2013 02:35 PM
@ArceusInator, It's 196.2 studs/s^2, which is equivalent to earth's 9.81 m/s^2, with 1 meter being equal to 20 studs.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 May 2013 02:36 PM
'1 meter being equal to 20 studs'
I ca really use this to make games even more realistic :)
And realistic gravity as well :)
Report Abuse
awsumpwner27 is not online. awsumpwner27
Joined: 03 Sep 2011
Total Posts: 4389
31 May 2013 05:48 PM
Just because it appears to returns its volume, doesn't mean it isn't returning it's mass. It just so happens that mass = volume = density in this case.

The Prime Jester of Scripters has spoken.
Report Abuse
1waffle1 is online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
31 May 2013 09:40 PM
Volume is not density, SpecificGravity*Volume = mass = density.
Report Abuse
Aerideyn is not online. Aerideyn
Joined: 16 Jan 2010
Total Posts: 1882
31 May 2013 10:35 PM
You are a little off on that math :p remember that you are working with volume not area.

1 meter = 20 studs, so yes 1 stud = 5 centimeters.

so 1 block of water is 20 * 20 * 20 cm.

(20)^3 = 8000 cubic CM.
That may seem enormous - but you need to keep thinking of things volumetrically.
Imagine one deck of 20*20 cm blocks - 400 blocks right? then you have 20 decks of 400 blocks on top of each other - 8000 blocks total.

1 cubic decimeter (10 * 10 *10 cm) is 1 liter of volume.
so 8000 / (10*10*10) = 8 Litres.

So 1 terrain block of water is 8 Kg. not 1 gram

Continue as you were

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