Discuss Scratch

coco3021
Scratcher
18 posts

3D Camera Rotation Off

Hello Scratch,
I am using a tutorial to make 3D programs, and I've run into a bit of a bind. The rotation for the camera seems to be inverted. I have checked time and time again, but I can find no problems with the script. I believe the problem is originating from the “go to x:x y:y z:z” block .
Here is the link:
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1115372792/


define Go to x: x y:y z:z



If you find anything, please tell me. Thank you!

Last edited by coco3021 (Feb. 18, 2025 12:40:37)

quadruple_door
Scratcher
100+ posts

3D Camera Rotation Off

coco3021 wrote:

Hello Scratch,
I am using a tutorial to make 3D programs, and I've run into a bit of a bind. The rotation for the camera seems to be inverted. I have checked time and time again, but I can find no problems with the script. I believe the problem is originating from the “go to x:x y:y z:z” block .
Here is the link:
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1115372792/


define Go to x: x y:y z:z



If you find anything, please tell me. Thank you!
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1135742948/ Here's a fixed version, there wasn't any problem with you goto x: y:, you just mixed up your rotation matrices
I also improved your movement to be directional if you use this in a project somewhere could you credit ?
coco3021
Scratcher
18 posts

3D Camera Rotation Off

quadruple_door wrote:

coco3021 wrote:

Hello Scratch,
I am using a tutorial to make 3D programs, and I've run into a bit of a bind. The rotation for the camera seems to be inverted. I have checked time and time again, but I can find no problems with the script. I believe the problem is originating from the “go to x:x y:y z:z” block .
Here is the link:
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1115372792/


define Go to x: x y:y z:z



If you find anything, please tell me. Thank you!
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1135742948/ Here's a fixed version, there wasn't any problem with you goto x: y:, you just mixed up your rotation matrices
I also improved your movement to be directional if you use this in a project somewhere could you credit ?
I will definitely credit you if this ever goes into a game, Thank you so much!

Last edited by coco3021 (Feb. 18, 2025 18:45:35)

coco3021
Scratcher
18 posts

3D Camera Rotation Off

coco3021 wrote:

quadruple_door wrote:

coco3021 wrote:

Hello Scratch,
I am using a tutorial to make 3D programs, and I've run into a bit of a bind. The rotation for the camera seems to be inverted. I have checked time and time again, but I can find no problems with the script. I believe the problem is originating from the “go to x:x y:y z:z” block .
Here is the link:
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1115372792/


define Go to x: x y:y z:z



If you find anything, please tell me. Thank you!
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1135742948/ Here's a fixed version, there wasn't any problem with you goto x: y:, you just mixed up your rotation matrices
I also improved your movement to be directional if you use this in a project somewhere could you credit ?
I will definitely credit you if this ever goes into a game, Thank you so much!
Nvm, where is my “rotation matrice?”
quadruple_door
Scratcher
100+ posts

3D Camera Rotation Off



this
coco3021
Scratcher
18 posts

3D Camera Rotation Off

quadruple_door wrote:



this
I don't know what you sent, but I cannot view it (lightspeed filter). Can you tell me in words? Sorry
quadruple_door
Scratcher
100+ posts

3D Camera Rotation Off

the calculate trig block

Powered by DjangoBB