Forum

Can the selection ray be cast only on mouse button release

30 September 2015 15:33
JD
Hi,

While reading the 15.09 release notes I tried the example with the 3 drawers cabinet and there is something similar I need to do.

Is there a way I could implement the Play animation only when the mouse button is release?

I would like the ray to only being cast when the mouse button is release in order to prevent the animation from being played when the user is rotating the camera by starting the mouse drag over an interactive object.

Thanks
30 September 2015 15:43
Hi,

We have such a request already: https://www.blend4web.com/en/forums/topic/809/, so a more flexible mouse interaction in logic editor is a feature we are going to implement in the nearest releases.
 
Please register or log in to leave a reply.