Advertisement

MS3D Collision ?

Started by December 16, 2002 01:38 PM
0 comments, last by titan2782 22 years, 2 months ago
I have the code for "camera-world collision" from gametutorials.com and i modified it to work with triangle strips for terrains. No wi am creating levels in 3d studio and changing them into MS3D models. I''m trying to get the collision with the camera and the MS3D model. How can i go about doing so? The collision functions takes in the vertices it''s passed and uses those to calculate the collision. I tried to use the info from the model like m_pTriangles and m_pIndices and so on/so forth. IT Administrator / Software Engineere http://drdsoftware.cjb.net
Dustin DavisOwner / CEOProgrammers Unlimitedwww.Programmers-Unlimited.com
A model is generally too complicated ( and just a waste of processess ) to do it per-poly for camera collision. An easier and more efficient way would be to surround the model with collision boxes or hulls and test against those.

This topic is closed to new replies.

Advertisement