A lazy Sunday to ye all,
And the next question.
For certain parts I'd like to have polygonal collision detection. I assign to certain models the following code:
action BBPolyPrecise () {
my.flags |=POLYGON;
}
The results are strange. Basically all three models show the BB assigned by the engine, two of which are totally useless. I also noted, that in MED the center of the correctly hulled model is sitting differently from the centers of the incorrect models (all illustrated in the pic in the Spoiler.)
I know, I can use code like that:
action BBRail01short () {
c_setminmax(my);
wait(1);
vec_set(my.min_x,vector(-22,-5,-20));
vec_set(my.max_x,vector(22,5,30));
}
But a) I want the polygonal detection and b) it is very odd and I should be able to address it. What's wrong with our models? (We use 3DS Max 5.1 for modelling and export / import via FBX).
EDIT/ Problem solved thanks to Superku and Uhrwerk, see last post.