Hi I have an archery game. I shoot arrows which has Rigidbody and a boxCollider attached. So when my arrow hit something, I set it FreezeAll to stop it’s position and rotation like this:
My issue is when I hit a normal box collider, it’s good like this:
Stoped as what I expected.
But when I hit a sphere or a capsule:
you see sometimes the arrow jumped to the other position. Like I aimed in front of me, but it jumped to the left side a little bit like how my image above shows. Can anyone explain to me why this happens? And how to fix it? Thanks!
As addition to this issue, only when I hit the sphere not perpendicular that much, it would happen. I guess it’s because my arrow speed is too high, and even though I already used collision mode → continuously dynamic. It still penetrate the sphere a little bit before it’s detected for collision. So it automatically push it back to the nearest point automatically. If it’s in this case, how should I prevent this?