I have an object (a ball) with a rigidbody because I need that this ball is affected by gravity. After I have different surfaces where the ball can run. The problem I have is that I add a force to up (Y-axis) when a key is pressed but the reaction is not the same if the ball is only colliding with 1 object (for example in a flat surface) that when is colliding with 2 objects (for example when the ball is between 2 tubes). In the 2nd case, the ball ups with less force than in the 1st case.
I would like to obtain the same reaction in both cases. It is that possible?
Thanks a lot!
asked Aug 21 '10 at 06:15 AM
Instead of add force you can alter the rigidbody velocity directly. You can also try reducing friction at the moment you press jump so there's less sticking caused by other objects.
answered Aug 21 '10 at 01:16 PM
Thank you, this helped me aswell :D
answered Mar 21 '11 at 01:09 PM