Hello, I am rather new to quickb2 as I rather lately ported my game from box2d to quickb2 🙂
I have a body, and I want to make it "disappear" if too much force was put against it (if it had too much weight against it, or if something hit it very hard (maybe that'd be an impulse :S)). In box2d I knew I'd just set up a contact listener and check out the max impulse and compare it to some number, and see if it should "disappear" (be crushed), or not.
My question is, how can I do that?
Also, I am wondering whether there is documentation to quickb2 somewhere, because I couldn't find any on the google project hosting :S
If you need any clarifications, please say so 😀
Thanks in advance,
Tamper 😎
I have a body, and I want to make it "disappear" if too much force was put against it (if it had too much weight against it, or if something hit it very hard (maybe that'd be an impulse :S)). In box2d I knew I'd just set up a contact listener and check out the max impulse and compare it to some number, and see if it should "disappear" (be crushed), or not.
My question is, how can I do that?
Also, I am wondering whether there is documentation to quickb2 somewhere, because I couldn't find any on the google project hosting :S
If you need any clarifications, please say so 😀
Thanks in advance,
Tamper 😎