Skip to content

Instantly share code, notes, and snippets.

@colormono
Created July 17, 2018 21:59
Show Gist options
  • Select an option

  • Save colormono/2e7c9c2305e87daaf251a3e3121dadd1 to your computer and use it in GitHub Desktop.

Select an option

Save colormono/2e7c9c2305e87daaf251a3e3121dadd1 to your computer and use it in GitHub Desktop.
[LensStudioL: Rotate Object] #LensStudio
var DEG_TO_RAD = 0.0174533;
script.Mesh1.getTransform().setLocalRotation( quat.quatFromEuler( 90.0 * DEG_TO_RAD, 45.0 * DEG_TO_RAD, 0.0 * DEG_TO_RAD) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment