On the three.js axis, Y is displayed up and down, and the Z axis is displayed forward and backward. But I want the Z axis to represent up and down, and the Y axis to represent forward and backward. Here is an image showing what I want:
I want to change the entire coordinate system so that if I rotate the grid around the y axis, it follows the new coordinate system, not the traditional one.
Now I was looking for a stack overflow and found this link:
Is there any way to make three.js work like a Z-coordinate system?
You can set the camera vector with
camera.up.set(0,0,1);
, .
Source: https://habr.com/ru/post/1679633/More articles:Unable to read from s3 bucket using spark - scalaPerformance improvement hive jdbc - performanceDeclare Doctrine Embeddable as nullable or not - phpRxSwift: How to add a gesture to UILabel? - iosЧто делают инструкции сборки "seta" и "setb" после reps cmpsb? - assemblyWhat is the shortest way to create a list of entries? - haskellLoading JSON file into React Component stateTHREEJS: matrix from Z-Up coordinate system to Y-Up coordinate system - javascript.js работает в chrome и firefox, но не IE - javascripthow to get a certain amount of product on a cart page in woocommerce - phpAll Articles