0
\$\begingroup\$

I want to replicate the movement of a Team Fortress Scout in Unity, so the movement of the player must fall naturally, not slide, and not pass through objects. It must also be affected by Addforce.

I do not want to use Addforce and Velocity because they are slippery. Increasing the drag will make it less slippery, but it will decrease the fall speed.

When I move the character with Transform.Translate, the character passes through objects. To counter this, I placed a transparent box over the character to increase its thickness and used Continuous Speculative, but it still passed through.

A close approach would be to use Transform.Translate to move, OverlapSphere to detect walls, and slow down the character's speed, but this is not a desirable solution because the movement would be like sticking to a wall.

Do you have any other ideas?

\$\endgroup\$
3

0

You must log in to answer this question.

Browse other questions tagged .