Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Gravity Editing for a certain Part?

Asked by
KAAK82 16
10 years ago

The way I saw Gravity in a Part so I thought I'll ask... if u make the part bigger, then would it go down faster? cos for example an RPG shoots, it cant shoot as far as other weapons can... cos the Missile is too heavy, so is it same here??? and also, is it actually editable? and if it is then wat gravity configuration is most realistic? thnx for ur time...

2 answers

Log in to vote
2
Answered by 10 years ago

Very good question. If you make a part bigger it's gravity pull will still be the same. Usually when an RPG shoots there is a script making it go slower.

0
hmmm... so looks like I'll need to start off with pistols first then, and after that RPG's cos I want Bullet Drop, but proper Bullet Drop... also, can the Part's Gravity be changed?cos u didnt answer that... cos then all I'd have to do is make it change it to a lot more and thats it :D KAAK82 16 — 10y
0
Yes, the parts gravity pull can change but I'm not exactly sure HOW. I believe you'd have to edit the properties of the brick/part. VirtualFlying 55 — 10y
0
You can use the BodyThrust object to change the "apparent" gravity of a part. Gravity in Roblox pulls at 196.2 (somewhere around there at least) studs per second. If you combine that knowledge with GetMass() you can create a script that would make the forces on a part cancel out. LightArceus 110 — 10y
Ad
Log in to vote
0
Answered by
Rukiryo 25
10 years ago

Actually, RPG stands for Rocket Propelled Grenade. The RPG projectile is propelled by a rocket attached to the explosive itself.

Gravity has the same pull on each object. However, an object's mass will change its force.

If you drop a 10lb weight and a 1lb weight, they will fall at the same speed. However if you put them on a "teeter totter" (or however thats spelled) the 10lb weight will go downwards. This is because it has a higher mass and therefore has a higher gravitational force.

On ROBLOX, an object's mass is (size units) xyz.

So a part sized (1,2,3) has a mass of 123 = 6.

To make a part fly realistically, simple put a BodyForce inside it with the desired force.

0
hmmm... wat about the speed of the missile? does it change the Range? cos if the Gravity pulls and the missile is slow, then the gravity would have more time to pull the missile down... also, RPG stands for Ruchnoi Protivotankovai Granatamot cos its Russian... and btw, are u that famouse guy??? :D KAAK82 16 — 10y
0
Don't forget ROBLOX isn't real life so you can counter physics. And yes, that's me. Rukiryo 25 — 10y

Answer this question