Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

russian-bear

bullet hits on walls/windows how to?

This topic is 5897 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

Advertisement
Just calculate an intersection between the ray that describes the bullet, and a polygon. One way of making the hits actually leave marks on the wall would be to insert the hits in a texture, and blend that with the walltexture.
I''m sure there''s faster ways, but this seems to be the easiest =)



--
MFC is sorta like the swedish police... It''''s full of crap, and nothing can communicate with anything else.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!