Jump to content
  • Advertisement

Archived

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

McLin

billboard collision detection

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

hey, if im using billboards to show projectiles(lasers or whatever), what shape should i use to approximate it for collision detection. i wanted to use a cylinder, but cylinder/box intersection is tough. thanks for any input MCLIN

Share this post


Link to post
Share on other sites
Advertisement
How is cylinder/box collision detection tough? It''s just a sphere-sphere and box-box test.

Using a Sphere is very easy (I use it for bullets in a game I am workign on for instance). A Oriented Box is good though, try that.

"Love all, trust a few. Do wrong to none." - Shakespeare

Dirge - Aurelio Reis
www.CodeFortress.com
Current Causes:
Nissan sues Nissan

Share this post


Link to post
Share on other sites
thanks dirge. i guess what i really wanted to know is what other ppl use, but for some reason i wanst too articulate (gee, what could possibly have been the problem?).

could you explain how to do that cyl-box test u talked about? i cant seem to see it. i can do box-box and sphere-sphere tests.

MCLIN

Share this post


Link to post
Share on other sites
Haven''t done them in a while but I believe the cylinder test is a box-box test, then sphere-sphere. That order. This is because a cylinder has characteristics of both.

Go to http://www.realtimerendering.com/int
Look for the cylinder intersection tests.

"Love all, trust a few. Do wrong to none." - Shakespeare

Dirge - Aurelio Reis
www.CodeFortress.com
Current Causes:
Nissan sues Nissan

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!