rotate(yaw, pitch, speed): boolean
yaw
pitch
speed
boolean
Request a smooth rotation toward the given yaw/pitch at the given speed (degrees per tick). Returns true when the target is reached this call.
number
Target yaw in degrees.
Target pitch in degrees.
Max step (deg/tick).
Last updated 3 months ago
const done = rotationManager.rotate(90.0, 0.0, 10.0);