webglstudio.js icon indicating copy to clipboard operation
webglstudio.js copied to clipboard

How to add additional interaction with 3d object

Open RYG81 opened this issue 7 years ago • 2 comments

Hi, May be I am stupid to ask this without actually trying your library, but this is something I need to know before I jump in and explore it. Can we add interaction with 3D objects? for example moving object with mouse or tap, drag-drop, snapping etc? Please if not add these feature to this fantastic library to make it more fantastic. Rahul

RYG81 avatar Apr 19 '17 12:04 RYG81

Forget one more thing, :-). How would you publish something as webGL or HTML?

RYG81 avatar Apr 19 '17 12:04 RYG81

Hi:

Well, you could do all those things, but you would have to implement them by yourself. Think of WebGLStudio as a frontend for a 3D engine. You can code any behaviour you want.

However, if you really need those features, I have code them for the editor itself (not for the core engine), so I could create a component that allows to manipulate objects.

To publish things, once finished you can get the URL of your project (to play it) or you can export it as a ZIP that contains all the project data and the player itself (HTML and JS).

Just let me know if you have any more questions.

jagenjo avatar Apr 19 '17 18:04 jagenjo