- Home /
Very intermittent Collsion with grenade projectile and room with mesh collider.
I've set up a scene- it's inside an office tower, with rooms etc. It uses a normal mesh collider. I also have projectiles working- grenades, to be exact. They are Instantiated- and given a rigidbody relative force of 100. They weigh 0.17 kg in a to-scale setup.However- the collision is intermittent. Sometimes the grenades (They use a cylindrical mesh collider) hit the walls, floor or windows with no problems. However, sometimes the go straight through the completely solid objects. This doesn't happen when other objects are marked as 'Convex', but for a room, I can use that option. How do I stop my grenades flying through solid walls?
Answer by Joshua · May 07, 2011 at 05:42 PM
Check out DontGoThroughThings.js, and also use search in the future. Almost the same question was asked minutes ago..
Nope, didn't work. Still goes through things just as much.
Wait, dw. It still does it occasionally, but it works overall.
Your answer
![](https://koobas.hobune.stream/wayback/20220613132431im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Innacurate terrain collision with fast rigidbody 1 Answer
Dart projectile collide with another dart in the board 0 Answers
Returning Force/Direction to zero 0 Answers
Bullet projectiles with collision info without affecting others 0 Answers
Collision detection for Arrows and Melee. How to properly setup physics/collision? 3 Answers