menajev
Member
|
Centering mesh part.
Is it possible to make it in game just like in editor?
|
|
02-23-2011 08:38 PM |
|
Dynad
Member
|
RE: Centering mesh part.
Isn't it just worldspace Vec(0,0,0)? Just like in the Editor it centers the Mesh to the center of the ground.
There is always evil somewhere, you just have to look for it properly.
|
|
02-23-2011 08:43 PM |
|
menajev
Member
|
RE: Centering mesh part.
Not the same (or I misunderstood you). I want to use mech parts (e.g. leg) as a separated mesh but now it's center is same as it would be with whole mech (so when I put leg on Vec(0,0,0) it's really center is Vec(1,-2,0)).
(This post was last modified: 02-23-2011 09:04 PM by menajev.)
|
|
02-23-2011 09:04 PM |
|
Esenthel
Administrator
|
RE: Centering mesh part.
Box b=part;
Vec c=b.center();
|
|
02-23-2011 09:10 PM |
|