Page 1 of 1

simulate a clic

Posted: Wed Jan 19, 2022 4:10 pm
by eric.prados
Hello

I'm looking for a solution to simulate a click in the center of the screen.
example: by pressing "space" the skin simulates a click in the center of the screen, and the skin interprets this as a click there... and executes what needs to be done at these x and y coordinates.


Thank you

Éric Prados
Immersiv3d.fr

Re: simulate a clic

Posted: Thu Jan 20, 2022 6:24 am
by Tony
Hi Eric,

Add whatever effect you want to happen, anchor it to the centre, position it at 0,0. Set its visibility to false, add a Keyboard Shortcut using the 'space' key and an action to toggle the visibility.

Tony

Re: simulate a clic

Posted: Thu Jan 20, 2022 12:24 pm
by eric.prados
thank you

In fact what I want is to "simulate" a mouse click in the center of my screen. If there is nothing in the center, nothing happens, but if there is a polygon, it corresponds to a mouse click when you press "space", and the programmed action of the polygon is triggered.

Re: simulate a clic

Posted: Thu Jan 20, 2022 1:15 pm
by Tony
Hi,

The folder that contains the effect should have its Properties > Advanced > Hotspot Proxy ID set to * (a wildcard). Then add the Keyboard Shortcut and in the Actions add a modifier to the actions you want for play on that specific node that has the Polygon Hotspot ID relevant to that node.

Tony