Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

collision detection and transformations

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 walantis   Members   

122
Like
Likes
Like

Posted 08 November 2001 - 08:10 PM

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




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.