This has nothing to do with ARKit, it is a pure SceneKit question. You need to apply Physics Simulation to the paper ball you are throwing.
You then use the function applyForce(_:asImpulse:)
to throw the ball. The curve will be a result of the force applied and gravity of the scene.
The ball will have a SCNPhysicsBodyType.dynamic
and the rest of the scene can have SCNPhysicsBodyType.static
as they don't move (floor, bin , desk, etc...).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.