by Spike » Wed Feb 15, 2012 6:17 am
bsp collisions are aligned to origin+mins. if you change the mins, you _move_ the entire bbox. this allows you to have monsters of different heights but still firmly keep its feet on the ground. projectiles will still hit the proper bbox, but you might see their head poke into the ceiling in certain areas.
tracebox calls must use the same .mins of the object that will be in that space that you're trying to trace through, or its results are unreliable.
beware of this in info_teleport_destination.
self.origin = self.origin + '0 0 27';
and this in PutClientInServer
self.origin = spot.origin + '0 0 1';
in either case, the position of the object as seen in the map editor is not entirely correct, and your tracebox must be aware of the offsets or the box will be in the wrong place and might fail as a result.
droptofloor does drop it to the floor, yes... but you can always restore the origin to what it was before you made the call now that you know it can freely move downwards (thus isn't stuck).
.