AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Check if player is inside of wall (https://forums.alliedmods.net/showthread.php?t=222447)

Jhob94 08-02-2013 17:43

Check if player is inside of wall
 
Hi
If i use some toggleable noclip, how can i detected if user is stuck in wall/box/whatever when stop using noclip?

Black Rose 08-02-2013 18:12

Re: Check if player is inside of wall
 
Raytracing?

joropito 08-02-2013 18:49

Re: Check if player is inside of wall
 
Use trace_hull (or EngFunc_TraceHull)

There's a tutorial on how to use different traces, search

Jhob94 08-02-2013 18:52

Re: Check if player is inside of wall
 
ok thanks :)


All times are GMT -4. The time now is 15:57.

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