PDA

View Full Version : glRotate/Translate & collision detection



Batou
04-18-2005, 11:37 PM
For collision detection i need to know every vertex absolutely coordinates , so how can i get them if i use these functions?
Now i use handmade function for rotating and translating objects , its works but its really slow.Is there another way?

dorbie
04-19-2005, 01:05 AM
Concatenate the transformations into a matrix and multiply the vertices by that matrix.