Sign in to follow this  
azari

FPS bullet/target stuff

Recommended Posts

Quick question to all: What are some basic theory/ideas on how (in an FPS environment) to calculate bullets and targets. IE: when I fire a bullet, how do I know what it hit? How do I know if it shot someone in the head, or hit a tree behind them? Just curious, because I couldnt think of a good way myself :S

Share this post


Link to post
Share on other sites
Most of the time it's just a simple ray trace (for instantaneous bullets). But the actual implementation depends on your collision system, if you have a spacial system, bsp etc.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this