Game Development Community

Collision mesh scaled during rotation?

by Adam Troutman · in General Discussion · 08/03/2006 (12:06 pm) · 2 replies

I have a random rotation set for some rocks when they are created so that they dont all look the same but they collision mesh becomes huge and you can walk on it into the sky which is obviously a problem, if anyone knows how to fix this please tell me, here is the rotation.

%rotr = getRandom(1,360)@" "@getRandom(1,360)@" "@getRandom(1,360)@" "@getRandom(1,2);

Thanks.

#1
08/08/2006 (7:38 am)
Hmm correctme if I am wrong but I think rotation are "xInt, xInt, xInt, Angle"

so rotating 90 along the Y would be "0,1,0,90"
#2
08/08/2006 (8:56 am)
Well that might explain a lot, sorry im stupid.