Hi,
because colissions can not work prcecise enough I'm developing a workaround: After each time-step my moving objects also calculate where they would be at the next timestep. If there would be a colission with some object or beween two movin objects I set the next Position to that colissionPosition...
The problem I have right now is right at the beginning:
Code:
for object in collidablesBall:
info=object.intersect(ball0503.actualPos.get(), ball0503.nextPos.get())
if info.intersected:
I also remove certain balls from the scene.
Problem: Also the balls I remove are not in the collidablesBall Array they trigger a intersect printout. Second - they are removed from the scene and still do that?!
Can removed objects still trigger an intersect-Event?
Other possibility: I will go through it and look if I have some invisible Objects somewhere.
Johannes