how to create these two buttons and add them to the game as shown below
1 Like
There are several approaches. Personally, I’d go with <div>
tags with transparent background and semitransparent image. The tags should be placed over the canvas. For capturing clicks there is no need for raycasting, as pointer/mouse events will work just fine.
2 Likes
Maybe you can use some of it?
Circular control used for walkable areas control
1 Like
I would use THREE.Mesh
I’m not very good at css. can you give me an example?
2 Likes