-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add a gizmo system #2904
Comments
More like a general question, would code from Three.js or Babylon be welcome? The example is here: https://threejs.org/examples/misc_controls_transform.html It would only require like 20 "polyfills" for the Three.js imports. There is also more code I would like to use in PlayCanvas, like their FBX importer and glTF exporter. |
I don't think we'll need to use that code. I've got most of the Editor code extracted in this project: https://playcanvas.com/project/768040/settings Next, I'm going to replaced the framebuffer picker with ray-triangle intersection tests for the gizmo. This should be more performant and make it easier to use in an XR app. I agree that adding a glTF exporter would be very valuable. But that's a different issue. Again, I don't think we need to take code from anywhere to implement that. |
For the picking, perhaps we could resurrect this one #989 |
Yes. We should. I'm gonna put a simple ray-triangle function into my gizmo script for now though. BTW, it should be easier to write the code to do Mesh/Ray intersection now, since you added |
The Editor has a great translate/rotate/scale gizmo.
It would be great if the engine supported a generic gizmo system that could be shared between various applications. Here are some feature I would like to support in this system:
The text was updated successfully, but these errors were encountered: