first time poster.
I'm curious as to how I can obtain a vector that defines the downward slope of a 3D plane. The goal is to apply this to a player as a force to achieve a sliding mechanic, like in Mario 64 (for steep floors and slide levels).
My attempts at this used variations of this equation, but it's not quite what I'm looking for.
b * ( -2*(V dot N)*N + V ) where v is the vector that you want to reflect, n is the normal of the plane, b is the amount of momentum preserved (0.0 - 1.0).
this gives a reflected vector
I also have means to calculate the plane normal and get the intersection point of the player
Any other ideas to solve this are also appreciated