|
|
|
0 registered members (),
1,012
guests, and 8
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Other ways to check entity's collision
[Re: lps85]
#244728
01/06/09 14:13
01/06/09 14:13
|
Joined: Nov 2007
Posts: 1,032 Croatia
croman
Serious User
|
Serious User
Joined: Nov 2007
Posts: 1,032
Croatia
|
only if you program one by yourself
Ubi bene, ibi Patria.
|
|
|
Re: Other ways to check entity's collision
[Re: lps85]
#244833
01/07/09 02:36
01/07/09 02:36
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Create an invisible building entity that follows the mouse by using c_move from "where the house is now" to "where the mouse is now", checking for collisions along the way.
Plausable?
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: Other ways to check entity's collision
[Re: EvilSOB]
#244857
01/07/09 08:38
01/07/09 08:38
|
Joined: Oct 2008
Posts: 6 Singapore
lps85
OP
Newbie
|
OP
Newbie
Joined: Oct 2008
Posts: 6
Singapore
|
Create an invisible building entity that follows the mouse by using c_move from "where the house is now" to "where the mouse is now", checking for collisions along the way.
Plausable? Thanks for your idea, EvilSOB but instead of using c_move, i have use c_rotate with the building when the player click at that particular position to see whether collision has occured while rotate and so far is working fine. Thanks to all other who have giving me ideas. 
|
|
|
|
|
|
|