styly-dev / PolySpatial_VisualScriptingNodes

MIT License
2 stars 0 forks source link

Custom event node for tap and drag #1

Open from2001 opened 11 months ago

from2001 commented 11 months ago

I'l implement visual scripting custom node for Polyspatial interaction event.

from2001 commented 11 months ago

Currently the node has only interactionPosition and targetObject as output port.

Plyspatial provides the following other data in the input system and developer may want that data.

However if OnTap event node has many ports on it, it will look very complications. How about we add detailed information port as SpatialPointerState type? Then we also add a new node to get each data from SpatialPointerState.

The SpatialPointerDevice provides the following properties:

https://docs.unity3d.com/Packages/com.unity.polyspatial.visionos@0.6/manual/PolySpatialInput.html