weewoo5
|
  |
| Joined: 25 Oct 2009 |
| Total Posts: 2281 |
|
|
| 09 Nov 2013 03:36 PM |
Some formulas you might find useful to increase realism:
--[[ Drag Coefficient Formula: D = (2*F)/((p*v)^2)*A) D = drag coefficient F = force component in the direction of the flow velocity p = mass density of the fluid v = speed of the object relative to the fluid A = reference area Drag Equation: F = ((((.5*P)*(V^2))*C)*A) P = density of the fluid V = speed of the object relative to the fluid C = drag coefficient A = cross-sectional area Atmospheric pressure formula: p = p1^(-1*(h1/h2) p = atmospheric pressure p1 = pressure at height 0 (On earth 1) h1 = height h2 = scale height (On earth 7) dry air density formula: p = x/(R*T) p = air density x = absolute pressure R = gas constant for dry air T = absolute Temperature ]] |
|
|
| Report Abuse |
|
|
YEGGOR
|
  |
| Joined: 02 Apr 2013 |
| Total Posts: 1150 |
|
| |
|
weewoo5
|
  |
| Joined: 25 Oct 2009 |
| Total Posts: 2281 |
|
|
| 09 Nov 2013 04:10 PM |
| Yeah but other people can also use these. |
|
|
| Report Abuse |
|
|
YEGGOR
|
  |
| Joined: 02 Apr 2013 |
| Total Posts: 1150 |
|
| |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
Miyua
|
  |
| Joined: 18 Oct 2013 |
| Total Posts: 12 |
|
|
| 09 Nov 2013 04:49 PM |
| roblox.com/--item?id=130844390 |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 09 Nov 2013 04:50 PM |
| https://www.youtube.com/watch?v=hcHnvTozc5M |
|
|
| Report Abuse |
|
|
weewoo5
|
  |
| Joined: 25 Oct 2009 |
| Total Posts: 2281 |
|
|
| 09 Nov 2013 04:52 PM |
--[[Scales: 1 stud = .3048 meters 1 weight = 1 lb ]]
--[[ Drag Coefficient Formula: D = (2*F)/((p*v)^2)*A) D = drag coefficient F = force component in the direction of the flow velocity p = mass density of the fluid v = speed of the object relative to the fluid A = reference area Drag Equation: F = ((((.5*P)*(V^2))*C)*A) F = drag P = density of the fluid V = speed of the object relative to the fluid C = drag coefficient A = cross-sectional area Atmospheric pressure formula: p = p1^(-1*(h1/h2) p = atmospheric pressure p1 = pressure at height 0 (On earth 1) h1 = height h2 = scale height (On earth 7) dry air density formula: p = x/(R*T) p = air density x = absolute pressure R = gas constant for dry air T = absolute Temperature ]]
--Settings: Temperature = 72 DeathForce = 245 -- 25 g's (25 * 9.8 m/s) AirSpeed = 0, 0, 0
Par = script.Parent PlasW = .7 CorrW = 7.85 DiamW = 7.85 FabrW = .7 FoilW = 7.7 GranW = 2.691 GrasW = .9 IceW = .919 MarbW = 2.563 BrickW = 1.922 ConcW = 2.403 PebbW = 2.403 SandW = 1.602 SlatW = 2.691 WoodW = .35 PHeight = script.Parent.Size.y -- Height PLength = script.Parent.Size.x -- Length PWidth = script.Parent.Size.z -- Width x = script.Parent.Velocity.x y = script.Parent.Velocity.y z = script.Parent.Velocity.z rx = script.Parent.RotVelocity.x ry = script.Parent.RotVelocity.y rz = script.Parent.RotVelocity.z
while true do Pressure = 1^(-1*(Par.Position.y/7)) AirDensity = Pressure/(53.3533*72) xDragCoefficient = (2*(Par.Velocity.x * 3.2808))/(((AirDensity*(Par.Velocity.x - AirsSpeed.x))^2)*PLength) yDragCoefficient = (2*(Par.Velocity.y * 3.2808))/AirDensity zDragCoefficient = (2*(Par.Velocity.z * 3.2808))/AirDensity xDrag = ((((.5 * AirDensity)*((x-AirSpeed.x)^2)* -- im busy finishing these please be quiet end
|
|
|
| Report Abuse |
|
|
weewoo5
|
  |
| Joined: 25 Oct 2009 |
| Total Posts: 2281 |
|
|
| 09 Nov 2013 04:55 PM |
How would I determine which side is the one facing the direction of movement: __________________ | | side x ---> (movement direction) How would I use a script to determine that side x is the one facing the direction of movement?
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 09 Nov 2013 04:55 PM |
After 1 stud = .3048 meters
I stopped reading, that's wrong Stravant said 1 stud = 1/20th of a M |
|
|
| Report Abuse |
|
|
Miyua
|
  |
| Joined: 18 Oct 2013 |
| Total Posts: 12 |
|
| |
|
weewoo5
|
  |
| Joined: 25 Oct 2009 |
| Total Posts: 2281 |
|
|
| 09 Nov 2013 05:01 PM |
Compare 20 studs to one character's height.
Last time I checked 1 meter isn't 3 times higher than me.
3.2808 studs comes about 3/5 of the way up to a character's head. Therefore, very realistic. Your hero is incorrect cnt. I hate to tell you. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 05:02 PM |
Use your godly mathematical talent to figure it out. Velocity and direction unit vectors. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 05:02 PM |
| These are pretty interesting. Tracking this thread |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
weewoo5
|
  |
| Joined: 25 Oct 2009 |
| Total Posts: 2281 |
|
| |
|
weewoo5
|
  |
| Joined: 25 Oct 2009 |
| Total Posts: 2281 |
|
|
| 09 Nov 2013 05:39 PM |
x Side velocity of 100 = (100, 0, (Rotaion.y * 2.222222))
This works perfect :)
|
|
|
| Report Abuse |
|
|
weewoo5
|
  |
| Joined: 25 Oct 2009 |
| Total Posts: 2281 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 09 Nov 2013 05:43 PM |
| Can you like PM, or go to OT. |
|
|
| Report Abuse |
|
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
weewoo5
|
  |
| Joined: 25 Oct 2009 |
| Total Posts: 2281 |
|
|
| 09 Nov 2013 06:32 PM |
--[[Scales: 1 stud = .3048 meters 1 weight = 1 lb ]]
--[[ x Side velocity of 100 = (100, 0, (Rotaion.y * 2.222222)) ]]
--[[ Drag Coefficient Formula: D = (2*F)/((p*v)^2)*A) D = drag coefficient F = force component in the direction of the flow velocity p = mass density of the fluid v = speed of the object relative to the fluid A = reference area Drag Equation: F = ((((.5*P)*(V^2))*C)*A) F = drag P = density of the fluid V = speed of the object relative to the fluid C = drag coefficient A = cross-sectional area Atmospheric pressure formula: p = p1^(-1*(h1/h2) p = atmospheric pressure p1 = pressure at height 0 (On earth 1) h1 = height h2 = scale height (On earth 7) dry air density formula: p = x/(R*T) p = air density x = absolute pressure R = gas constant for dry air T = absolute Temperature ]]
--Settings: Temperature = 72 DeathForce = 245 -- 25 g's (25 * 9.8 m/s) AirSpeed = 0, 0, 0
Par = script.Parent PlasW = .7 CorrW = 7.85 DiamW = 7.85 FabrW = .7 FoilW = 7.7 GranW = 2.691 GrasW = .9 IceW = .919 MarbW = 2.563 BrickW = 1.922 ConcW = 2.403 PebbW = 2.403 SandW = 1.602 SlatW = 2.691 WoodW = .35 PHeight = script.Parent.Size.y -- Height PLength = script.Parent.Size.x -- Length PWidth = script.Parent.Size.z -- Width x = script.Parent.Velocity.x y = script.Parent.Velocity.y z = script.Parent.Velocity.z rx = script.Parent.RotVelocity.x ry = script.Parent.RotVelocity.y rz = script.Parent.RotVelocity.z
while true do wait(.01) Pressure = 1^(-1*(Par.Position.y/7)) AirDensity = Pressure/(53.3533*72) xDragCoefficient = (2*(Par.Velocity.x * 3.2808))/(((AirDensity*(Par.Velocity.x - AirsSpeed.x))^2)*PLength * PHeight) yDragCoefficient = (2*(Par.Velocity.y * 3.2808))/(((AirDensity*(Par.Velocity.y - Airspeed.y))^2)*PLength * PWidth) zDragCoefficient = (2*(Par.Velocity.z * 3.2808))/(((AirDensity*(Par.Velocity.z - Airspeed.z))^2)*PLength * PHeight) xDrag = ((((.5 * AirDensity)*((x-AirSpeed.x)^2)*xDragCoefficient))) yDrag = ((((.5 * AirDensity)*((x-AirSpeed.x)^2)*yDragCoefficient))) zDrag = ((((.5 * AirDensity)*((x-AirSpeed.x)^2)*zDragCoefficient))) end
Finally figured out something close to enough to exposure area. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 09 Nov 2013 06:35 PM |
| this "treyreynolds" guy is not here, so PM him |
|
|
| Report Abuse |
|
|