Can the selection ray be cast only on mouse button release

30 September 2015 15:33 #4153

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.

30 September 2015 15:43 #4154

We have such a request already:, so a more flexible mouse interaction in logic editor is a feature we are going to implement in the nearest releases.
Blend4Web developer
Please register or log in to leave a reply.