-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to set coordinate system in three-geo #17
Comments
I found the demo: https://github.com/w3reality/three-geo/tree/master/examples/editor |
Yes, in your case (with elevation along the z-axis), simply updating the
should work. |
j-develop, thanks for your reply. I am not sure what is the difference between Someone metioned """ THREE.Object3D.DefaultUp.set( 0, 0, 1 ); |
I see. Putting For example, in the 'editor' example case, we can start code like
I think this |
J-devel, thanks for your comment. |
…ultUp` (#17) Use `THREE.Object3D.DefaultUp` per [comment](#17 (comment)).
Hi,
For an engineering purpose, I would like to set Z axis (blue color) as up one and X (red), Y(green) as a ground plane. I try
THREE.Object3D.DefaultUp = new THREE.Vector3(0,0,1);
which seems not changing the default coordinate system (y (green) is up) in three-geo.
Thanks a lot.
ouyang
The text was updated successfully, but these errors were encountered: