Search the Community
Showing results for tags 'camera'.
-
if (camera.getPitchAngle() < 44) { status = "Moving camera angle"; int targetPitch = random(44, 67); log(targetPitch); if (camera.movePitch(targetPitch)) { if (!CTime.sleepUntil(3000, 100, () -> camera.getPitchAngle() == targetPitch)) { return random(50, 300); } } } This always sets my camera pitch to 67... targetPitch doesn't always return 67. Let me know if you get this behavior too, or if I'm doing something wrong in my code.
-
I was wondering if there is a way to disable the automatic camera turning when you use the interact function on object. The automatic camera turing has minor flaws and sometimes I want to do the whole camera turning manually. Thanks in advance.