- Home /
Question by
Shar1ngan · Apr 06, 2014 at 01:10 PM ·
rigidbody2dgravityphysics2d
Change GravityScale in runtime
Hello, i want change rigidbody2d.gravityScale in runtime, but if my object fly (have no collisions) gravityScale remains the same (eq 1), but (!) after hit object with collider, gravityScale are changing! How i can change gravityScale without hit my object with other collider? or this is bug?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613142057im_/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
Change a specific Gameobjects rigidbody gravity to horizontal (left) 1 Answer
Simple question about unity 5 rigidbody/gravity 1 Answer
Gravity speed slows down when increasing screen size 1 Answer
How can I make two objects with rigid bodies that won't displace each other? 2 Answers