Hi, sorry for bump.
I tested this and works, but it's annoing cuz i can't shoot thru walls (boxes, doors, etc). You can shoot thru objetcts only if the object is a entity (not solid).
I think it's possible to do checking the texture properties, but i dunno if it would work.
I found a bug too, when you're out of ammo, if you still attacking, the marks on the walls (after rebound only) still drawing.
Not errors, but more realistic:
At bullet hit under a corner from 90 to 45 degrees of a ricochet from a wall/floor will not be...
I'm new on this, if anyone here know how to fix these bugs (im sure) and post the fixed pluging it will be awesome, sorry cuz i can't do it myself.
Thanks a lot.
P: sorry my bad english