parameter position in the TriangleMeshObject its working?

Jan 13, 2008 at 1:40 AM
Edited Jan 13, 2008 at 1:42 AM
hi, I'm trying to use the parameter position ( new Vector3(10,5,50) ) in the TriangleMeshObject :

- housePhysic = new TriangleMeshObject(this, houseModel, Matrix.Identity, new Vector3(10,5,50));

but, it dont is working...

I need much do it work... :-(

some idea???
Coordinator
Jan 13, 2008 at 5:43 PM
The triangleMesh is a static mesh. You can't move it.
Jan 13, 2008 at 7:49 PM
all right,

but dont can settup your position in the space?

:-)
Jan 16, 2008 at 8:52 AM
I also ran into the same problem. Obviously you don't use the position parameter in the TriangleMeshObject's constructor, so do you mean it has to stay at the origin, or is there a way to set its position in space?

I don't fully understand the body/skin relationship, but I tried applying transforms and using the moveto function like in the other primitive object classes and nothing happened. Can you explain the body/skin relationship?
Coordinator
Jan 16, 2008 at 11:04 AM
This was already discussed here: "JigLibX sample is missing some code?"