Calculate reflected vector to normal
v = [1, -1] // incoming direction (going down-right) normal = [0, 1] // surface normal pointing up result = raylib.Vector2Reflect(v, normal) print result // [1, 1]
There was an error while loading. Please reload this page.