This demo shows physics simulation using Rapier, and ray casting to allow selecting components, running on an M1 iPad Pro.
The objects are held in place with a ball joint (allows only rotation) at the origin. Tapping the object on the screen creates an impulse force opposite the normal at the location on the object, and plays a sound.