"I think it's just because the Jbox is not recognize 6 holes." You thought correctly ;)
You could try making the table a JTriangleMesh. (But you should probably ask about JigLib on the JigLib forum.) Alternatively you can add some code that checks if a ball is near a hole and if so remove the physic object of the ball and just move the visual model downward. -- Apprentice On Jul 11, 10:22 am, zkidkid <[email protected]> wrote: > Hi, > > I make a game like Billiard. > So I create a model with 6 hole. > I using PreFab to export that model to Away3D mesh. > and then in Away3D I create a rigidbody like that: > > _tablePhysic = new JBox( new Away3dMesh( _tableModel ), > _tableModel.objectWidth, _tableModel.objectDepth, > _tableModel.objectHeight); > > All I want is the ball should fall if I move on 6 holes. > But It didn't. > > I think it's just because the Jbox is not recognize 6 holes. > > How could I do it now ? > > Thanks. > KidKid
