View Single Post
  #1  
Old 05-06-2009, 02:55 PM
Chrissy2009 Chrissy2009 is offline
Member
 
Join Date: May 2009
Posts: 33
Collision problem: Balls fly through the wall

Hi,

I want create a billiard game inside a room. So I created a box in 3ds Max and set the viewpoint and the 15 balls into this box. This works very fine.

Code:
court = viz.add('world.wrl') 
court.collideMesh()
....
ball.collideNone()
ballPhysicalShape = ball.collideBox()

But now my problem:
If I initiate the shoot, the balls fly across the room and always collide with the walls. This is okay!

But if I shoot them faster or if I set the bounce value from 0.5 to 2, they just fly through the wall.

I don't know what's the matter for this action.

Can anybody help me?

Thanks a lot.
Christina
Reply With Quote