AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Help] normal vector (https://forums.alliedmods.net/showthread.php?t=117650)

ujjl 02-03-2010 08:24

[Help] normal vector
 
Hi! How to get the normal vector of a surface when
PHP Code:

get_tr2traceResultTR_flFractionfraction ); 

give me a result of
Code:

fraction == 1.0
aka i hit a wall?

Exolent[jNr] 02-03-2010 10:38

Re: [Help] normal vector
 
If fraction = 1.0, you hit nothing.

ujjl 02-03-2010 10:50

Re: [Help] normal vector
 
Ach, i started traceline to go paralell with the wall i need :) Thx


All times are GMT -4. The time now is 07:17.

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