Workshop.codes
Create
Lotto
Lotto

Rotation matrix - rotate any array of vectors around any axis.

  • Set the variable Global.angle to an angle you want to rotate (in the code its simply set to be between -1 and 1 based on throttle input).
  • Call subroutine RotateX / RotateY / RotateZ (depending on which axis you want to rotate around) to rotate every vector in the array Global.positions.

Users Also Like

Similar Codes

Workshop.codes
Join the Workshop.codes Discord