Comments
-
I have added all code for clarity After doing some research I believe I have to take the position of the camera into account because the camera moves around the cube. But not sure how to
-
Solved it by using https://www.onlineconverter.com/resize-video to resize my video.
-
I figured it out by putting rotationToApply.multiply(rotation) in transform.setLocalRotation global.turn = function() { var updateEvent = script.createEvent("UpdateEvent"); var transform = object.getTransform(); var rotation = transform.getLocalRotation(); tweenManager.setStartValue(object, "y_rot_", rotation.y);…