Scripts for moving and rotating objects during drag on mouse.
Hello,
I would like to create a similar game like the one on this website: https://de.mathigon.org/tangram A screenshot of this website can be found underneath.
Now, I want to create a WebGL application where you can move the png-files and rotate it with this ,,circle-handlebar". So far I used some scripts found on the internet. The problem is, that I can only manipulate one object (the latest which I added the script to). The other objects remained static. Does anybody know how to create the circle-handle-bar and the required scripts to move an rotate the objects?
(Experience so far: I had used Unity for my bachelor-thesis in combination with the Microsoft HoloLens2. In addition I used the MRTK, which helped a lot, because it does not required any scripting. Finally, I could create an impressive application.)
But without the MRTK I am very helpless. Thank you in advanced.
Your answer

Follow this Question
Related Questions
C# to WebGL 2 Answers
WebGL issue - Release Build triggers error, Development Build runs fine 0 Answers
How to Make Proper Font used in WebGL build? 2 Answers
Pass mouseevents from Iframe to unity application (WebGL) 0 Answers
Limiting frame rate (fps) in my game isn't working. (dev. for WebGL) 0 Answers