Tremulous Forum
Mods => Modding Center => Topic started by: rotacak on September 20, 2009, 12:03:43 am
-
Hi, when I add new building for aliens, everything is ok when I build it on floor. But if I will build it on ceiling or wall, then between building and wall/ceiling is big space or building is partialy in wall/ceiling.
Same like with baricade:
(http://img200.imageshack.us/img200/1147/shot0033fg.jpg)
How I can fix that? In bg_misc.c is "vec3_t mins;", "vec3_t maxs;" and "float zOffset;". I don't understand what for is offset. Is possible to fix it with these values?
-
All bounding boxes are axis aligned, so enable drawBBOX and it'll show the model massively out of alignment with the box. There's a reason everything that can be built on walls is a cube...
-
Didn't benmachine do something similar along time ago? I can't remember specifically but I thought almost all buildings could be on ceiling and walls.
-
All bounding boxes are axis aligned, so enable drawBBOX and it'll show the model massively out of alignment with the box. There's a reason everything that can be built on walls is a cube...
I know, but it's same with acid and hive and they are ok. How to fix others too?