Posts Tagged ‘ray-tracing’
No screenshots to share at this time; unfortunately, I spend the better half of this evening working out the collisions for player movement before doing anything else.
I have to use ray-tracing to physically simulate the collision, but there is some mathematical error in the way jMonkeyEngine calculates distance from the ray shot, which prevents certain directions from preventing motion correctly… you just get stuck to the wall. I’m not convinced this is a jME problem though. I think I have an idea of how to fix it, but I’m going to bed before I lose my sanity any more.