Advertisement

Collision detection (Bounding Cylinder)

Started by November 28, 2002 05:48 AM
0 comments, last by tiutiu 22 years, 2 months ago
I''m developing a little game with md3 models, using a bounding cylinder for collision detection with radius, position and height. I''m also using gravity (for jumping or falling whenever i implement falling ) My question is: how can i jump over a salvable obstacle (obstacle.Height < player.jumpHeight) and stand over it? Thanx
Your question is not very clear... What do you mean by "How can I jump"?

Furthermore, using cylinders for collision detection is not a very wise choice IMO. Collision detection between two cylinders is very complicated. You should take a look at capsules (make a search on Gamasutra or Google).

Cédric

This topic is closed to new replies.

Advertisement