simulate a clic

Post Reply
eric.prados
Posts: 7
Joined: Fri Jun 19, 2020 8:55 pm

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
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

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
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
eric.prados
Posts: 7
Joined: Fri Jun 19, 2020 8:55 pm

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.
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

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
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Post Reply