I don't understand a single Collision tutorial... pls help
OK, here goes. I plan to use the Milkshape3D ASCII format for my terrain! I got the Camera tutorial from GameTutorials.com. What I want to implement is Camera-World collision and gravity. In the tutorial from GameTutorials.com, the collision leaks.
First of all, how do I handle the camera to like give it some sorta bounding box or radius of some sort!
Then one collision tutorial I read says that we have to pass the polygons into a list or something. How do I do this with the vertices in the Milkshape3D ASCII file.
And I think the movement code will be like so
if(functiontocheckifpointintersectslineorsomethingofthatsort == false)
{
Transform the camera according to plans
}
else
{
do nothing to the camera
}
right?
Agh! I don''t even know what I''m talking bout anymore!!!
--->http://www.initgames.gq.nu/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement