Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Vector2.Reflect

public static Vector2 Reflect(Vector2 inDirection, Vector2 inNormal);

Description

Reflects a vector off the vector defined by a normal.