# polygon / point collision needed !!!!!!!!!!!!!

This topic is 3485 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hi, I am trying to solve polygon collision test, but I a have a problem to make it. I found normals but I confuse with plane distance formula. Can anyone help me???? There are the code of my vertex data: for(i=0; i<a->wld->num_faces; i++) { t[0]=a->wld->vertex; t[1]=a->wld->vertex[i+1]; t[2]=a->wld->vertex[i+2]; calculate_normal(t[0],t[1],t[2],&normal.x,&normal.y,&normal.z); ...... ...... how do I do polygon/point intersection test ????? }

##### Share on other sites
Would you mind stop placing so many exclamation marks? I just woke up and it's too much for my ears right now.

##### Share on other sites
I'm not sure I understand your question. Do you want to know if a 3D point is inside a polygon? If so, that is not very practical since most likely the point will be above or below your polygon, not exactly on the plane.

If you are doing a collision test, you want to test for the intersection between a line/ray and a polygon. Google this and you'll find many examples

##### Share on other sites
Oh now I realise. You really hope to get answers by ignoring us, but instead posting the same thread over and over again, and each time you approximately double triple the number of exclamation marks:

Bad try. You might want to read the following first:

##### Share on other sites
What phresnel said. Unless you have a new question, don't start a new thread.

##### Share on other sites

This topic is 3485 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

This topic is now closed to further replies.

1. 1
2. 2
Rutin
19
3. 3
khawk
15
4. 4
A4L
13
5. 5

• 13
• 26
• 10
• 11
• 44
• ### Forum Statistics

• Total Topics
633744
• Total Posts
3013657
×