Applying a linear impulse right after removing a joint

Hi guys,

i’m connecting two objects with a (weld) joint when they collide (using timer.performWithDelay, I know it’s bad…). I created an onTouch event handler that removes the joint (myJoint:removeSelf()) and applies a linear impulse. Sadly nothing happens. I tested the code without the joint and it works just fine. Seems to be some problem with removing the joint and applying a force right away.

Any idea how to solve this? Thanks. :slight_smile:

// timer.performWithDelay() does the trick… [import]uid: 145963 topic_id: 25692 reply_id: 325692[/import]