MobilMesh raycast problem
Posted: Thu Dec 22, 2011 8:17 am
Hi, When i import a personnalized mesh

with this method:
i can't do a collision all of my mesh
Look at:

if u see Y axe we can see a collision but

can u say me why?
is probleme of my mesh?
thank, Emre

with this method:
Code: Select all
personnage = new MobileMesh(vertices, indices, AffineTransform.Identity, MobileMeshSolidity.Clockwise);
personnage.LocalInertiaTensorInverse = new BEPUphysics.MathExtensions.Matrix3X3();
personnage.Position = position;
personnage.OrientationMatrix = Matrix3X3.CreateFromMatrix(Model.Bones[0].Transform);
space.Add(personnage);
Look at:

if u see Y axe we can see a collision but

can u say me why?
is probleme of my mesh?
thank, Emre