Returns the vector "bounced off" from a plane defined by the given normal.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Vector2 Bounce(
Vector2 normal
)
Parameters
- normal
- Type: GodotVector2
The normal vector defining the plane to bounce off. Must be normalized.
Return Value
Type:
Vector2The bounced vector.
See Also