Jump to content
  • Advertisement
Sign in to follow this  
FlorentB

Physics Engine - Collision mesh

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

Hello, I'm making a 3D application, using DirectX and Tokamak Physics. Now i have a little problem with collision : Tokamak seems to take only bounding box/sphere/cylinder and not any collision mesh (except for terrain mesh). Now i have to use real collision mesh, cause my 3D objects are not basics primitives, and i wonder if tokamak was a good choice... i think no... So, could you tell me if you know another physics engine, free for commercial use, which use collision mesh? Thanks you, FB

Share this post


Link to post
Share on other sites
Advertisement
You trying to do a more detailed collision detection on a mesh?

You can try just using sphere/box/polygon/point on each triangle or quad that makes up a mesh.

Sphere to polygon/triangle is nice for camera collision of world and other mesh objects as well as projectiles.

Also:
Point to Sphere.
Point to Polygon/Triangle.
Ray/Line Intersection.

If you do yourself a point/sphere based volume could be used, you basically convert the known physical polygon into a series of individual point/collision sphere with a defined number and size.

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.

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

Sign me up!