I would like to implement zoom functionality in my SceneKit game: when the user performs the pinch gesture on a point on the screen, the scene zooms in to make that point larger.
Until now I simply changed SCNCamera.focalLength, but this simply zooms in to the center of what is currently visible on screen. Is it somehow possible to implement the zoom functionality described above by perhaps interactively rotating the camera at the same time towards the pinched point? Is there a formula for this? I would like to avoid suddenly rotating the camera to face the pinched point when the pinch gesture begins and then zoom in while the pinch is in progress.
Graphics and Games
RSS for tagBuild captivating gaming experiences for Apple platforms.
Posts under Graphics and Games tag
44 Posts
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi, I’m creating a game and I’m just wondering if I can integrate GCVirtualController in my SwiftUI app.
I have developed an application using Kotlin and Swift languages, which has been installed and run on an iPhone. It can also be installed on an iPad. Do I need to go through a testing process to publish it on the app store? Also, as a developer from China, are there convenient payment channels for developers?
XCode: 16.0
MacBook Pro: M1 Pro, Sonoma 14.5
Device: iPhone16, 18.0.1
Game: UnrealEngine 5.4.2 based
100% crash after gpu cature, even only renders a login UI