plus

operator fun plus(other: MotionState<U>): MotionState<U>(source)

Adds another motion state to this one, component-wise.

Return

A new MotionState with each component being the sum of the corresponding components

Parameters

other

The motion state to add