mattrdowney / planetaria

A Unity framework for Euclidean 2-sphere games (e.g. 2D virtual reality games) [quasi-MIT license]
Other
10 stars 2 forks source link

Velocity projection onto a block is 180 degrees off (velocity goes in opposite direction) [metal only] #68

Closed mattrdowney closed 6 years ago

mattrdowney commented 6 years ago

Could (hypothetically) be friction, although that was supposed to be capped at max speed, so look at other possibilities as well.

Reproduction: Jump diagonally at a metal ceiling. The velocity (upon collision) should reflect back towards where you came from.

mattrdowney commented 6 years ago

Partly due to not using Input.GetAxisRaw() / user failure (mine) on the part of properly testing.

There might have been a bug (but I don't think so).

Bug label persists because of the Input.GetAxisRaw() statement.

mattrdowney commented 6 years ago

If there was a fix, it was in 820d4b5bc04a1a1b771d144391b79e5fa67f8866