Click or drag to resize

Vector2Bounce Method

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
C#
public Vector2 Bounce(
	Vector2 normal
)

Parameters

normal
Type: GodotVector2
The normal vector defining the plane to bounce off. Must be normalized.

Return Value

Type: Vector2
The bounced vector.
See Also