Hi
My game is in the 3rd person view and what i want to is to find out the gradient of the piece of mesh which collides with the man. When the man walks up to a steep part of the mesh (when the gradient gets past a cetain height) then move the man back down the slope.
One way of doing this is to set the collisions response to slide1. But this isnt much help, as when the man goes up to any height he slides down.
If anyone could tell me how to find the gradient it would a lot of help.
thanks for your relpy
Aries
My game is in the 3rd person view and what i want to is to find out the gradient of the piece of mesh which collides with the man. When the man walks up to a steep part of the mesh (when the gradient gets past a cetain height) then move the man back down the slope.
One way of doing this is to set the collisions response to slide1. But this isnt much help, as when the man goes up to any height he slides down.
If anyone could tell me how to find the gradient it would a lot of help.
thanks for your relpy
Aries