Rectification of a calculated scaffold routing using NVIDIA PhysX