Example Template > Vive Pawn Character > Calc Pad Rotation and Magnitude

Calc Pad Rotation and Magnitude

Calulates yaw rotation and magnitude from 0-1 of a -1 to 1 pad axis pair

YAxis is automatically inverted

Inputs

Target
Vive Pawn Character Object Reference

YAxis
Float

XAxis
Float

Opt Magnitude Scaler
Float

Optional Deadzone
Float

Outputs

Rotation
Rotator

Magnitude
Float

Was Valid
Boolean