Get Reflection Vector

Get Reflection Vector

Choose your operating system:

Windows

macOS

Linux

Given a direction vector and a surface normal, returns the vector reflected across the surface normal. Produces a result like shining a laser at a mirror!

Target is Kismet Math Library

Get Reflection Vector
Direction
X0
Y 0
Z 0
Surface Normal
X0
Y 0
Z 0
Return Value
X0
Y 0
Z 0

Inputs

Direction
Vector

Direction vector the ray is coming from.

Surface Normal
Vector

A normal of the surface the ray should be reflected on.

Outputs

Return Value
Vector

Reflected vector.