Raised This Month: $ Target: $400
 0% 

Two Entity Touches


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
r0ck
Senior Member
Join Date: Jun 2011
Location: India
Old 01-09-2013 , 13:14   Two Entity Touches
Reply With Quote #1

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 .
__________________
Preparing to release my plugins..
r0ck is offline
 



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 13:42.


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