Sign in to follow this  

Chosen polygon for bullets in fps game

This topic is 1268 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

just wondering what is the prefered polygon/primitive for bullets in shooting games?

the best option for me would be as points,so whats yours?

Edited by Anddos

Share this post


Link to post
Share on other sites
Depends on the shape and how the projectiles is traveling in a path.

The projectiles in my 2d space shooter game do well using just basic rectangles.

But as you delve into weird projectiles going a more complicated trajectory, throwing a spear in the air will need a different approach.

Share this post


Link to post
Share on other sites
Bullets are small objects and are imperceptible by the human eye at normal speeds. There is no need to have a complex object to represent a bullet unless you are doing a "slo-mo glam shot". I would use a simple box for tracer rounds and nothing for normal rounds (rendering purposes only). The "tracer" box should be a specific size in two of the axis' and scaled in the other to represent the distance traveled between frames. For collisions, I would simply use line segment collision frame-to-frame.

Share this post


Link to post
Share on other sites

This topic is 1268 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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