AR Template motion control how to simulate those without the use of the camera? Pluggin or tutorial?

I looking to simulate the real world movement in my app, the way that the AR template does it, but i can not use the camera, so i’m left with input motion state, where its really dificult make real world movement/rotation.
Is there any pluggin(payed or not) or tutorial so i can pay/follow along.