- Home /
Duplicate Question
Throw Object Slowly
Hi,
I want to throw a ball with rigidbody.AddForceAtPosition(mDirection, mPosition); Where is mDirection = new Vector3(mDirTmp, 300, 200); to throw the object as in "Paper Toss"
But the problem is that sometimes, the ball penetrates others static object. The ball has a Rigidbody and a mesh collider (it's not a perfect sphere so native collider can't be used), and other objects are static object with mesh collider. I think that if the ball penetrates other objects, it's because of its speed. Even with the script DontGoThroughThings it happens. And the rigidbody.velocity.magnitude dont go above 3.
Thanks for any help.
you would have to post careful extracts from your code, and screen shots of your setup and inspector elements. this site is not for extremely general discussion
Your answer