View Single Post
Old
CodeMan
Member
 
CodeMan's Avatar
 
Status: Offline
Posts: 36
Join Date: Aug 2013
Location: Northern Virginia
Default 06-25-2015, 06:53 PM

Quote:
Originally Posted by x2495iiii View Post
Resident Penguin doesn't use bullet collision, actually. It uses two dummy objects on either side of the penguin to determine roughly which enemies are directly in front of it. Then it highlights one of those enemies. If an enemy is highlighted when the gun is fired, the hit is automatic.

That old top-down shooter I made a little after RP uses bullet collision, though. The problem we consistently ran into was that bullet collision is inaccurate unless everything in the world has accurate collision detection, which isn't true.

Still, good job for the OP for sharing his methods with the community. Thanks!
Yea, its a raycasting of sorts...


Im really RavenOfCode... shhhh....

Currently work on my first app :)
   
Reply With Quote