question?where is checkForCollisionEllipsoid's collidecenter?

Started by Uncle Ray, January 12, 2015, 05:15:49 PM

Previous topic - Next topic

Uncle Ray

solved
Answer:the fbx to obj,have some loss with texture,it is wrong in 3ds max,not jpct
____________________________________________________


obj.checkForCollisionEllipsoid(sv,eclips,6);

where is the eclips's center?
A:the center of obj?
B;the center of obj.mesh.getboundingbox?



and more question how to set the eclipse's center?
A:obj.setCenter(new Simplevector(x,y,z));
the (x,y,z),are coordinate in world's space or object's space?

EgonOlsen

It's the center of the Object3D (i.e. setCenter()) and it's in object space.