Original Post
Hi People, I was using this to calculate my sliding collision with wall: Vt += NI * (-dot(Ni,Vt) - Nd) Where: Vt = desired Position Ni = Normal of the plane of collision Nd = D of the plane equation. To calcule Nd, I used dot(Ni,Ps) where Ps is my contact point on the plane of collision. Is it right? Using this way, it doesn't work for me. It give me the right position where my character should go but always it stay inverse in vector component of my Normal Plane. For example, If my normal plane is ( 0, 0, 1 ), my target position is inverse in z, so, if my position should be ( 5, 5, 6 ), using this formula I found ( 5, 5, -6 ). Does anyone knows how I can adjust this? Thanks a lot. Ricardo