VDP-noclip / noclip

NOCLIP is an experimental game in which you “noclip” the environment to solve puzzles.
3 stars 1 forks source link

Tizio/fix slopy slopes #21

Closed TizioMaurizio closed 2 years ago

TizioMaurizio commented 2 years ago

Fixed character sticking to walls with frictionless physics material in AllPlayer->RealityPlayer->RealityBody->CapsuleCollider Prevented slopes by becoming slippery by doing so Future bugfix required for slopes >80° that cause the player to be allowed to accelerate infinitely. When he walks towards them he is able to exploit gravity's binding reaction while remaining in the "Air" state

stefanofossati commented 2 years ago

The project compiles. Question: when the rigidbody goes up to the inclined plane and the it stays still, the rigidbody is stationary. In the other case when the rigidbody goes down the inclined plain it goes down without the player interaction. Is this correct?

TizioMaurizio commented 2 years ago

The project compiles. Question: when the rigidbody goes up to the inclined plane and the it stays still, the rigidbody is stationary. In the other case when the rigidbody goes down the inclined plain it goes down without the player interaction. Is this correct?

I guess it happens because you have too much inertia to be stopped by friction, if you walk back up a bit during that sliding motion the rigidbody should find balance again