Unity Collider Not Moving With Parent -
If both the parent and child have a Rigidbody, they act as . While they may look connected in the editor's Transform hierarchy, the physics engine treats them as two separate objects that do not automatically move together.
Add a Rigidbody to the parent object and set its Body Type to Kinematic (or check isKinematic in 3D). This tells Unity the object will move, but not via forces. 3. Scripting via Transform instead of Physics unity collider not moving with parent
If you need the child to have its own physics (like a detachable part), keep both Rigidbodies but connect them with a Fixed Joint . 2. Static Collider Performance Optimization If both the parent and child have a Rigidbody, they act as
In Unity, the "collider not moving with parent" issue is usually a result of how the physics engine (PhysX) interprets object hierarchies. By default, a child collider should follow its parent's , but the presence of Rigidbody components can override this behavior. 🛠️ Common Causes and Fixes 1. Nested Rigidbodies This tells Unity the object will move, but not via forces