Skip to main content
gamedev.net
🔒 Locked

BSP

Started by sansured Oct 16, 2005 at 2:49 PM 0 replies 300+ views
Original Post
sansured
sansured
Hi, I am using BSP map in my D3D engine. I am trying to make some physics but i have a problem.I need to check collision with the polygon which i am standing.I mean i want to control am i on ground or not. I need it for jump physics. Do you have any idea about it? Thanks.
Gorwooken
Gorwooken
You could cast a ray from your player directly down and test for an intersection against your level. Knowing the point on your players feet and the intesection point of the ray and the triangle you can determine how high you are off the ground.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.