Ball Unstable on Plane

Jan 9, 2008 at 5:41 PM
hi,

I do a simple scene using 3ds max, and export it with panda export...

when I load the objects in xna in LoadContent:

floorModel = Content.Load<Model>("floor");
floorPhysic = new TriangleMeshObject(this, floorModel, Matrix.Identity, floorModel.Root.Transform.Translation);
Components.Add(floorPhysic);

ballModel = Content.Load<Model>("ball");
ballPhysic = new SphereObject(this, ballModel, 3.5f, Matrix.Identity, ballModel.Root.Transform.Translation);
Components.Add(ballPhysic);

in my update method, I'm using:

physicSystem.Integrate(0.005f);


then,

my scene is very unstable, my ball fall (no problem here), but when it hit the object floor it tremble...

and if I apply the code below when press Up key

ballPhysic.PhysicsBody.Velocity = new Vector3(0, -10, 0);

it up, but when it fall, it move quickly to other place...

I'm using sourcecode 8903 - Sat (05/01/2008)

some idea???

Thanks...
Coordinator
Jan 11, 2008 at 1:40 PM
I don't understand your velocity problem. But the bouncing of spheres on thin objects is a bug. I will have a look at it.
Jan 11, 2008 at 4:34 PM


noone88 wrote:
I don't understand your velocity problem. But the bouncing of spheres on thin objects is a bug. I will have a look at it.


Ok, cool.... I'll be wainting and testing... ;-)