| Blockland Forums > Modification Help |
| Bullets go through walls. |
| (1/4) > >> |
| Dr.Tyler O.:
I made a weapon with two weapon images and it switches back and fourth between them when you right click (I don't know if this matters). But when I switch to the second image (the one it fires in), it works fine but the bullets pass through walls and bricks. |
| Port:
One of the following is the issue: [*] The walls/bricks have no collision. [*] There is a script active which teleports it through the object. [*] Your projectile fires too fast. [*] Your projectile model has no collision mesh. [*] Your game is broken. |
| Dr.Tyler O.:
1. No, it is the default bedroom and the other guns work fine. 2. No, I've used this script for other guns. 3. I lowered the speed so low that I walk faster than it. 4. Collision mesh? If your talking about the colors that I used when I made the bullet model, they work fine. (P.S I tried the default bullet with it as well.) 5. No, every other gun works fine. P.S I've managed to get it to work but it only collides with bricks/walls that are far away. (I've used this script for a few sniper rifles and it worked fine, but this isn't a sniper rifle.) |
| Treynolds416:
Did you package OnCollision at all? |
| Dr.Tyler O.:
--- Quote from: Treynolds416 on June 08, 2012, 01:48:49 PM ---Did you package OnCollision at all? --- End quote --- Hmm? |
| Navigation |
| Message Index |
| Next page |