[ad_1]
Background: I’ve an app presenting a 3D mannequin with SceneKit. By default SceneKit has a perform that after the consumer makes a double-tap, the 3D mannequin returns into its unique place. I need to use this function programmatically. When the consumer hits a sure button, the 3D mannequin shall return to its unique place. Subsequently, I want to fireplace a double-tap occasion if doable and hope that the 3D mannequin will react accordingly.
How can this be executed?
This query pertains to one other case Tips on how to retrieve details about the digicam place in a sceneKit undertaking when the 3D mannequin is zoomed? through which I attempt to resolve this activity by setting the cameranode positions to their unique worth. However clearly this isn’t doable. The faux of the double-click could be a sort of work round with a view to obtain the requirement for my utility.
[ad_2]
