Documentation

Unity Engine

Download Unity

Unity Engine

Add(quaternion4, quaternion4)

Returns q1 + q2 with q2 flipped into the hemisphere of q1. The result isn't normalized, so it can be used to accumulate weighted rotations.
Read time 1 minuteLast updated 4 hours ago

Definition

public static quaternion4 Add(this quaternion4 q1, quaternion4 q2)

Parameters

The quaternion4 to add to.

The quaternion4 to flip and add.

Returns

Type

Description

quaternion4The sum of
q1
and the flipped
q2
.