Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

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

Vector3.ProjectOnPlane

public static Vector3 ProjectOnPlane(Vector3 vector, Vector3 planeNormal);

Parameters

Description

Projects a vector onto a plane defined by a normal orthogonal to the plane.