- Home /
Physics 2D Frictionless
Hi there, i'm using a DistanceJoint2D component + cursor position on the connected anchor for drag and move my objects, however if i move a object next to a collider with a physic material with 0 of friction, it will make it slow and obviously reacting to some friction, so my question is, how can i disable that "friction"?
Thanks!
Comment
Answer by logicandchaos · Mar 26, 2017 at 05:19 PM
You have to create a physics material with no friction and apply it to the object you want to be frictionless, you may also have to set linear and angular drag to zero on the ridgidbody