How do I make an entity a physics entity in RealityKit?
问题 I am not able to figure out how to make the "ball" entity a physics entity / body and apply a force to it. // I'm using UIKit for the user interface and RealityKit + // the models made in Reality Composer for the Augmented reality and Code import RealityKit import ARKit class ViewController: UIViewController { var ball: (Entity & HasPhysics)? { try? Entity.load(named: "golfball") as? Entity & HasPhysics } @IBOutlet var arView: ARView! // referencing the play now button on the home screen