Backup physics code (not implemented in project yet)