> I'm seeing something strange with a simple, small entity to bsp > collision. It seems that on the 'up' and 'right' walls of a map the entity > cannot be 'flush' with the wall but on the 'left' and 'down' walls of the > map the entity goes right up to the wall and collides correctly. > Now, you'd think, oh your bounding box is wrong or your origin is wrong but > I've spent a while double checking everything. > I switched on the 'pm_debug' particle bounding box display and my entity > does not display a weird offset collision box. > I tried the 'calc auto bbox' code I found on wavelength, it came out with > the same values I was setting with my manual call to util_setsize. > I tried fiddling with the origin via util_setorigin but this did not have > any effect, should it do? > I tried re-exporting the model and checking the data. > No matter what I do the entity will not sit flush with 'up' or 'right' > walls of a map. > It's almost like the map/entity collision is rounded up to 16 unit boundary, > that's not the case is it?
Are all your walls aligned with the X and/or Y axis? The bounding box is axially aligned so if your walls aren't aligned with the X or Y axis, the collisions will be with the corners of the box, not the sides of the box. Jeffrey "botman" Broome _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

