I’m trying to replicate a ball hitting the woodwork of a goal. The ball is a rigidbody with a sphere collider (0.37 radius) and it is striking a cross bar with a capsule collider (0.1 radius). The ball has a physics material with Bounciness of 0.6.
When the ball collides with the bar, it makes a slight deviation from its path, but not one which is natural looking. I have tried changing the Collision Detection of the RigidBody, but each setting produces the same result. How do I get it to look more natural?!
I have uploaded a video of the issue to youtube. Check it out at http://www.youtube.com/watch?v=Foh-vCJ_m6E
You are using Addforce not transform for your ball right? I don't know enough about this to give you a definitive answer, not even close. I just know from what I've experienced using PhysX in Unity I would be extremely surprised and happy if you could get realistic physics without extra work from the user.
– RyanZimmerman87Yeah its simply using AddForce. It is colliding and deflecting, if it strikes closer to the centre it looks like it deflects correctly, its the thinner collision that is causing the issue.
– MojopinStudios