- Home /
Objects stuck dragging across floor
In my project (3D) when I try to move object with rigidbody.AddForce(), they barely move when on the ground, but in the air they move normally as they should. I think the gravity is pulling the objects down and causing them to create friction acrosss the ground, but how would I fix this? Do i have to write my own script to handle gravity?
Comment
Answer by DenisIsDenis · Sep 13, 2021 at 12:29 PM
To get rid of friction on the ground, you need to create a Physical Material with the following parameters:
and assign it to your object collider:
zerofriction.png
(16.0 kB)
zerofriction2.png
(10.7 kB)