AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to check if a bouncing entity has a collision with the floor (not the walls) ? (https://forums.alliedmods.net/showthread.php?t=128793)

<VeCo> 06-05-2010 13:27

How to check if a bouncing entity has a collision with the floor (not the walls) ?
 
How can I do that? :|

I tried with FL_ONGROUND but it doesn't work with MOVETYPE_BOUNCE.

Emp` 06-05-2010 14:01

Re: How to check if a bouncing entity has a collision with the floor (not the walls)
 
You could do a traceline from the entity downward, but this may not be 100% accurate because the entity might be touching on an edge.


All times are GMT -4. The time now is 05:24.

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