Answers for "how to change a physics material from a script unity"

C#
0

change physics material unity

Collider coll = GetComponent<Collider>();
coll.material.dynamicFriction = dynFriction;
coll.material.staticFriction = statFriction;
Posted by: Guest on July-10-2021

Code answers related to "how to change a physics material from a script unity"

C# Answers by Framework

Browse Popular Code Answers by Language