Can someone help me with making a object “float” to the ground, like a parachute.
I’m not sure how to make an retard an object ie. a parachute, without affecting other objects. ie. If I reduced the gravity it would make the object drop slower, but it would also affect other objects.
I’m trying to drop a crate from a plane object and have it parachute to the ground. [import]uid: 63413 topic_id: 11212 reply_id: 311212[/import]
I would just fake it. Don’t make it a dynamic object until it hits the ground. Drop it at a somewhat random speed, create some fake wind, etc. And by fake it I mean just use transition.to several times to take it to some slightly random location.
For example. You drop it in the center of the screen. Divide that up into 4 transitions. From the start to the 1/4 position get a random x from startX-10 to startX+10. Then do this again 4 times until you hit the ground.
Once you hit do “addBody” or set the bodyType = “dynamic”
You can’t set gravity to be different and not affect every object so in my opinion faking it is the only way to go. I did the same thing and it turned out pretty well.
You can just change the density (weight) of your object. When it’s airborne, give it a light density, when grounded, give it a bigger density. [import]uid: 25327 topic_id: 11212 reply_id: 41015[/import]
linearDamping is the best way to go… (Tested by couple of other devs here who asked exact same question on forums before) [import]uid: 48521 topic_id: 11212 reply_id: 41017[/import]