My problem is this:

I'm working on a collision detection engine for FPS-like games. So
everything works fine except for this situation: I walk towards a wall at
an angle otehr than 90 degrees. What happens is that when I comes as close
to the wall as my pickSegment reaches it, it gets the vector parallell to
the wall and the camera moves along the wall. Sounds good right? Well, the
problem is that when you walk towards the wall at an angle smaller than 45
degrees you can see through the wall. What happens is that the pickSegment
isn't so long so when the angle between the velocity vector and the wall is
small, the picksegment don't reach the wall.

I guess this happwens because I only have one picksegment with the same
vector as the velocity vector. How could I solve this? Is it possible to
have three pickSegments so one can search forward and the other two to the
sides? But this causes other problems...

Thanx a lot

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to