Jump to content
  • Advertisement


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


collision detection and transformations

This topic is 6044 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 everyone.. i have a simple scene with some cubes and their bounding volumes (cubes, too in this case). i have a first person view, so the "player" is a point. i wrote a point/plane intersection function which works (tested, with a simple program). BUT: when i try to test my cubes against my point in the 3d world, nothing works. the problem is, that the vertices of the scene are transformed (local, then global and finally, for the first person view). my idea/question for the solution: can i get the final transformation matrix and combine it with the original vertices of the scene together, so i get the transformed vertices/normals. after that, the collision should work (i hope so). or is there another way to solve that problem in opengl ? thanks, Walantis

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!