- Home /
Question by
Windows_10X · May 16 at 01:24 PM ·
unity 2drigidbody2dgravity
Usegravity for unity2d?
I tried GetComponent().gravityScale = 0; but it doesnt do anything, the object still has gravity.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613060628im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can you make gravity to not have any acceleration but with const velocity? 1 Answer
OnTriggerEnter2D misbehaves when called quickly 0 Answers
Push an Object with a vector created from two points. 0 Answers
Why do GameObjects need Rigidbodies to collide? 0 Answers
Why does poligon collider 2d restricts movement of box collider? 0 Answers