• Advertisement

Archived

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

collision detection and transformations

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

  • Advertisement