AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Two Entity Touches (https://forums.alliedmods.net/showthread.php?t=205325)

r0ck 01-09-2013 13:14

Two Entity Touches
 
Lets say i have created a entity x (ball) and entity y (a rectangle sheet)
If entity x touches the rectangle sheet then i want to know if its possible to know where it touches the sheet ?
Like has that entity touched rectangular sheet at borders or around center ?
If it has touched borders then it execs some code and if touches around center of sheet then execs some other code....

thanks If its possible please can you give me a small example . :|

AngeIII 01-09-2013 13:30

Re: Two Entity Touches
 
about planes intersection maybe helps this:https://forums.alliedmods.net/showthread.php?t=205108


All times are GMT -4. The time now is 13:42.

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