how whould i make a pushable rock

hello all i was wondering how to make a pushable rock like is there a way to make on trigger enter make the rock to enter as a child with the player prefab iv had a lot of trouble looking around for somthing like this and i really needed it.

thanks in advance :)

Make sure your rock has a RigidBody component attached to it. Then when your player collides with the rock, simply add the force of the player, to the rock using RigidBody.AddForce