Hello everybody,
I faced a problem with useGravity. I have a script attached to a 2D character and i want to control the gravity of this character. When I use GetComponent<Rigidbody>().useGravity = false;
, I can control the gravity but i can’t add a 2d boxcollider.
What’s the equivalent of the code above using the 2d Rigidgoby ? like that i could add my 2d boxcollider. Thanks in advance.