physics object script unity code example Example: unity rigid body variable public Rigidbody rigidbody;