About Store Forum Documentation Contact



Post Reply 
Matrixes do not coincide
Author Message
Babulesnik Offline
Member

Post: #1
Matrixes do not coincide
[Image: cd64bed79256.jpg]

Mesh stol, kubik;
Actor kub_act, stol_act;
PhysPart P_Kubik, P_Stol;

stol.load ("D:/EsenthelEngineSDK/Data/Obj/chr/Stol/stol.mesh");
kubik.load ("D:/EsenthelEngineSDK/Data/Obj/chr/Kubik/kubik.mesh");
stol.scale (0.2);
kubik.scale (0.05);

P_Stol.createMesh (stol, 0);
stol_act.create (P_Stol);
kub_act.create (Box (2.5,2.5,2.5, Vec (0,10,0))); When instead of this line
was P_Kubik.createConvex (kubik, 1);
kub_act.create (P_Kubik); all was normal. I cannot use Convex because too many ranges in object.

stol.draw (Matrix (Vec (0,0,0)));
kubik.draw (Matrix (kub_act.matrix());
12-28-2010 07:05 PM
Find all posts by this user Quote this message in a reply
Mardok Offline
Member

Post: #2
RE: Matrixes do not coincide
Load your model in to Esenthel ModelEditor and click:

Mesh -> Transform -> Center

and save it
12-28-2010 08:32 PM
Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #3
RE: Matrixes do not coincide
(12-28-2010 08:32 PM)Mardok Wrote:  Load your model in to Esenthel ModelEditor and click:

Mesh -> Transform -> Center

and save it

Thank you very much.

How it is possible to calculate what party the cube has fallen?
12-28-2010 08:53 PM
Find all posts by this user Quote this message in a reply
Post Reply