Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Collision in an FPS

Author
Message
Bit Rat
21
Years of Service
User Offline
Joined: 3rd Jun 2005
Location: Double Dungeons- dungeon 21
Posted: 25th Apr 2007 00:24
I am trying to make a first person Slasher/shooter and need to check to see if the enemies are in melee range of the camera and in the camera FOV is there and easy way to do this without testing every enemy to see if it is in the FOV

Also, are Hidden objects tested for collision?
Bit Rat
21
Years of Service
User Offline
Joined: 3rd Jun 2005
Location: Double Dungeons- dungeon 21
Posted: 27th Apr 2007 12:47
well i tought of a solution, so never mind
Lucy
19
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Roanoke, VA USA
Posted: 27th Apr 2007 16:23
Well, i don't know what your solution is, but here's how i'd do it.



No matter where you are... everyone is always connected.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 28th Apr 2007 03:00
i may be wrong but shouldn't that equation use - instead of *?

Login to post a reply

Server time is: 2026-07-05 18:38:15
Your offset time is: 2026-07-05 18:38:15