Hi all.
I spawn some objects which I want to be able to bounce of some objecttypes and “die” on collision with other objecttypes.
I use object.type = “killme” to detect if the object should die on collision or not.
It Works ok except for the fact that the animations etc. that I run on a “kill” seems to take so long time that the physics keep going …
I can almost avoid this by setting linear velocity to zero, but if i have a lot of bounce the object will actually manage to bounce a Little bit before the collision is “fully detected” and velocity set to zero.
So question is … How do I manage to disable the bouncing if the object should die?
/C