Help please. How can I stop falling object?

Hi,
I would like to create an effect, as in the example in.
http://blog.allanbishop.com/wp-content/uploads/2010/09/Box2DJointTutorial.swf

I could not resist bouncing after the fall of the block. I used physics touch joint, but it doesn’t seem to have worked. So, please help me :slight_smile: Thanks. [import]uid: 194182 topic_id: 35893 reply_id: 335893[/import]

I’m not a physics guru, but it looks like you need to set the bounce very low and maybe give the box a pretty high density. [import]uid: 199310 topic_id: 35893 reply_id: 142694[/import]

Correct… you should set the bounce property on both the “box” and the “ground” to zero (or near zero).

physics.addBody( myObject, "dynamic", { bounce=0 } ) [import]uid: 200026 topic_id: 35893 reply_id: 142701[/import]

Thanks guys, “set the bounce property on both the “box” and the “ground” to zero” could works. [import]uid: 194182 topic_id: 35893 reply_id: 142734[/import]

I’m not a physics guru, but it looks like you need to set the bounce very low and maybe give the box a pretty high density. [import]uid: 199310 topic_id: 35893 reply_id: 142694[/import]

Correct… you should set the bounce property on both the “box” and the “ground” to zero (or near zero).

physics.addBody( myObject, "dynamic", { bounce=0 } ) [import]uid: 200026 topic_id: 35893 reply_id: 142701[/import]

Thanks guys, “set the bounce property on both the “box” and the “ground” to zero” could works. [import]uid: 194182 topic_id: 35893 reply_id: 142734[/import]

I’m not a physics guru, but it looks like you need to set the bounce very low and maybe give the box a pretty high density. [import]uid: 199310 topic_id: 35893 reply_id: 142694[/import]

Correct… you should set the bounce property on both the “box” and the “ground” to zero (or near zero).

physics.addBody( myObject, "dynamic", { bounce=0 } ) [import]uid: 200026 topic_id: 35893 reply_id: 142701[/import]

Thanks guys, “set the bounce property on both the “box” and the “ground” to zero” could works. [import]uid: 194182 topic_id: 35893 reply_id: 142734[/import]

I’m not a physics guru, but it looks like you need to set the bounce very low and maybe give the box a pretty high density. [import]uid: 199310 topic_id: 35893 reply_id: 142694[/import]

Correct… you should set the bounce property on both the “box” and the “ground” to zero (or near zero).

physics.addBody( myObject, "dynamic", { bounce=0 } ) [import]uid: 200026 topic_id: 35893 reply_id: 142701[/import]

Thanks guys, “set the bounce property on both the “box” and the “ground” to zero” could works. [import]uid: 194182 topic_id: 35893 reply_id: 142734[/import]