Community ProtoFlux Library/AmasterAmaster/Math/Rotation/Smooth Additive Rotation

From Resonite Wiki
Revision as of 05:39, 23 August 2024 by AmasterAmaster (talk | contribs) (Created a page for the Smooth Additive Rotation custom node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a custom ProtoFlux node maintained by AmasterAmaster. Contact the creator of the node (not the Dev Team) with any bugs or issues.
This node was created using an in-game system and has no correlation to the Plugin system. Currently, these types of custom nodes are not officially supported by Resonite.
Smooth Additive Rotation
Rotation
*
Axis
RotationSpeed
SmoothingSpeed
Amaster's Math Library

The Smooth Additive Rotation node takes in a rotation, an axis, the rotation and smoothing speed, then the node returns the new rotation that has been smoothed, effectively transitioning between the old and new rotation values.

Inputs

Rotation (floatQ)

The rotation to use.

Axis (float3)

The angle this rotation is rotating on.

RotationSpeed (float)

The speed of which this rotation should be spinning at.

SmoothingSpeed (float)

The amount to smoothly transition the rotation by.

Outputs

* (floatQ)

Returns the new smoothed out rotation.