How do to Use the parameters position of TriangleMeshObject

Jun 2, 2008 at 2:38 PM

Hi,

the code original in JiggleGame is:

 

 

TriangleMeshObject triObj = new TriangleMeshObject(this, staticModel, Matrix.Identity, Vector3.Zero);

 

 

 

 


I changed to:

 

TriangleMeshObject

 

triObj = new TriangleMeshObject(this, staticModel, Matrix.Identity, new Vector3(0, 100, 0));


but, dont work... the staticModel is in the same place...

how to use this parameters?

 

Jun 2, 2008 at 3:06 PM

allright,

I found...

triObj.PhysicsBody.Position =

new Vector3(0,100,0);

thanks...