- Home /
Question by
JJJDon · Mar 18, 2019 at 09:24 PM ·
collisionphysicscolliderfightingame
what is the best physics solution for bow and arrow game?
In unity, When I shoot an arrow on another object B , the object B will be moved. But I do not want B to be moved. Both arrow and B have colliders. In addition, B has a Rigidbody. How to change the settings to allow the arrow to penetrate B and not move B. Colliders cannot be removed because I want to detect collisions.
Comment
Best Answer
Answer by Tsaras · Mar 18, 2019 at 09:37 PM
You need to enable Trigger on your collider so that it does not apply actual collision forces but rather sends a message to the object which you can pick up using OnTriggerEnter() method.