How can I change the precision of the physics engine? trying to improve collisions for a billiards game
Hi @Yohami_Zerpa,
The timestep for updating the physics simulation is set in the RigidBodyComponentSystem class, not exposed for editing in the docs but I think you can change it simple by doing:
this.app.systems.rigidbody.fixedTimeStep = 1/90;
// you can also experiment increasing the number of sub steps
this.app.systems.rigidbody.maxSubSteps = 13;
Thank you. This plus CCD solves all the physics issues
2 Likes
2 Likes