Jump to content
  • Advertisement
Sign in to follow this  
Anddos

Chosen polygon for bullets in fps game

This topic is 1554 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!