OwenTheBell / RunRoom

0 stars 0 forks source link

Player is not losing moment while wall running #50

Open OwenTheBell opened 7 months ago

OwenTheBell commented 7 months ago

The counter force of the run reduces the player's velocity, but their momentum value does not change. Consequently, if they took off at full speed, when they hit the ground they are instantly back up to full speed.

The player's velocity needs to be checked when they land and then converted into an appropriate momentum value.

OwenTheBell commented 7 months ago

Player facing difference relative to velocity when landing could also be sent directly into the yaw values, rather than having a separate calculation. This would simplify existing logic and make momentum bleed consistent between turning and landing from the air.