Closed plexsoup closed 5 years ago
When you jump into the side of a StaticBody2D, you stick there and slowly slide down.
Add a reflection vector and use the remainder to you bounce off. https://docs.godotengine.org/en/3.1/tutorials/math/vector_math.html#reflection
added bounce effect to jumping and falling states
When you jump into the side of a StaticBody2D, you stick there and slowly slide down.
Add a reflection vector and use the remainder to you bounce off. https://docs.godotengine.org/en/3.1/tutorials/math/vector_math.html#reflection