// Method that calls everyframe void Update() { motor.setSpeedInput(0); calculateSpeedInput(); calculateTurnInput(); wheelAnimation(); transform.position = carRigidBody.transform.position; }
// Method that calls everyframe void Update() { motor.setSpeedInput(0); calculateSpeedInput(); calculateTurnInput(); wheelAnimation(); transform.position = carRigidBody.transform.position; }