A
A
Amir Gafurov2016-02-09 15:23:23
JavaScript
Amir Gafurov, 2016-02-09 15:23:23

How to make a tap/click effect on the canvas at the click location using three.js?

There is a sprite with a texture in a three.js project, you need to place it at the click / tap location and give the effect of increasing the scale and decreasing the opacity.
How to implement it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Lugovkin, 2016-02-11
@darkvovich

Clicks on objects can be tracked via raycaster jsfiddle.net/z43hjqm9/1
And then do what you want with the object.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question