www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: Uncle Ray on January 12, 2015, 05:15:49 pm

Title: question?where is checkForCollisionEllipsoid's collidecenter?
Post by: Uncle Ray on January 12, 2015, 05:15:49 pm
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?
Title: Re: question?where is checkForCollisionEllipsoid's collidecenter?
Post by: EgonOlsen on January 12, 2015, 09:21:02 pm
It's the center of the Object3D (i.e. setCenter()) and it's in object space.