You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have a use case where I want to add an object to the scene when a user clicks somewhere where there are no meshes present. I know I can use the Canvas's onPointerMissed to get notified when a user clicks on the canvas but it doesn't hit a mesh but the event here is a standard DomEvent so how can I determine the position within the scene to insert the object?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I currently have a use case where I want to add an object to the scene when a user clicks somewhere where there are no meshes present. I know I can use the
Canvas
's onPointerMissed to get notified when a user clicks on the canvas but it doesn't hit a mesh but the event here is a standard DomEvent so how can I determine the position within the scene to insert the object?Beta Was this translation helpful? Give feedback.
All reactions