Advertisement

I have "plane" collision but need poly :)

Started by August 22, 2000 01:07 PM
0 comments, last by klubbkid 24 years, 4 months ago
I have everything set up for plane collision. I already have the normal calculated for the polygon, and get the result of Ax + By + Cz = D and I have it set up so that the point collides with the plane...the only problem is that since the plane is infinite (I think) I can''t make it so that the point will pass over the empty spots in the plane. So it looks and works fine when it hits the poly, but when I try moving the point off the poly and and try moving it forward it hits the invisible barrier Any suggestions on how I can make it so that it is restricted to the poly only? Oh..and I''m doing "hit and miss", the user pushes a key..it modifies the points x,y,z and it recalculates the Ax + By equation and if it''s less than 0 it moves the point back. Thanks, - Derek
I remember seeing a vertex/poly collision tutorial on flipcode a while ago, and it would only take a little modification to make it poly/poly collision detection.

This topic is closed to new replies.

Advertisement