lerpRotation

fun Sprite3D.lerpRotation(pitch: Float, yaw: Float, roll: Float)

Adds rotation to a 3D sprite that will be applied gradually over multiple frames.

Parameters

pitch

The pitch rotation to add in radians

yaw

The yaw rotation to add in radians

roll

The roll rotation to add in radians