Raised This Month: $ Target: $400
 0% 

Model collision with world


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
sgtbane
Member
Join Date: Feb 2006
Old 12-12-2008 , 19:55   Re: Model collision with world
Reply With Quote #2

Bump? o.0

I never got a response to this and am still having problems with this type of thing. When I set the bounding box of something, the 'maxs' half of it is totaly ignored as if it assumes them to be 0. If anyone has a solution to this it would be greatly appreciated.

new Float:mins[3] = {-50.0, -50.0, -50.0}
new Float:maxs[3] = {50.0, 50.0, 50.0}
engfunc(EngFunc_SetSize, entid, mins, maxs)

The bounding box appears to be the proper size when running around the entity, since you can collide with the bounding box as a player in the places that you should. yet when you try to move the entity with velocity, it will only collide on the 'mins' half of the bounding box and assume the 'maxs' is 0,0,0
__________________
[Add|Community]

~SgtBane
sgtbane is offline
Send a message via MSN to sgtbane
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode