Yes, that's what I did and it works now, thank's.
Because the functions of collission are undocumented, I want to know what they do, here are my hypotheses - correct me, if I'm wrong:
object.collidemesh() activetes the mesh of the object, so others can collide with it.
info = ball.collidingwith(object,1)
info.intersected checks for the collision. For what stands the 1?
ball.collidesphere(0.025) can be used instead of collidemesh() for spherical objects - is maybe better because maybe ball.collidemesh() would construct a box-mesh?!
Thanks,
Johannes
|