This project is read-only.

parameter position in the TriangleMeshObject its working?

Jan 13, 2008 at 2:40 AM
Edited Jan 13, 2008 at 2: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???
Jan 13, 2008 at 6:43 PM
The triangleMesh is a static mesh. You can't move it.
Jan 13, 2008 at 8:49 PM
all right,

but dont can settup your position in the space?

Jan 16, 2008 at 9: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?
Jan 16, 2008 at 12:04 PM
This was already discussed here: "JigLibX sample is missing some code?"