- Home /
Collider repulsion
I have a rigidbody set on kinematic that is at an uncertain position on the ground. Sometime the rigidbody goes is a little bit bellow the groud and sometimes I need to make the rigidbody set as not kinematic, but when I do that, the rigidbody jumps. Is it possible to change the collider repulsion force of an object without affecting gravity so that the rigidbody stays on the ground ?
Answer by Grimm9186 · Feb 27, 2019 at 02:23 PM
The easiest way would be to set the Y position of the object when you take isKinematic off to make sure it is above/on the ground.
One way to 'kinda' change the repulsion force is to decrease the mass of the rigidBody, this will lower the amount of 'jump' it has to it, however this isn't a smart fix nor is it reliable, unexpected things will still happen.
Your answer
![](https://koobas.hobune.stream/wayback/20220612192558im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Make AI run from Player 1 Answer
Collider question 0 Answers
How do I move this rigidbody? 1 Answer
What does rigidbodies sleeping have to do with collision detection? 0 Answers
Is there a way to have rigid bodies collide, but not transfer any force? 2 Answers