Vector 4 Mirror by Vector 3

Vector 4 Mirror by Vector 3

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! The W element is ignored.

Target is Kismet Math Library

Vector 4 Mirror by Vector 3
Direction
Surface Normal
Return Value

Inputs

Direction
Vector 4 Structure (by ref)

Direction vector the ray is coming from.

Surface Normal
Vector 4 Structure (by ref)

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

Outputs

Return Value
Vector 4 Structure

Reflected vector.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback