Why do you dislike it so much? I love how it's so... modular :U
It's the design...
Currently I am failing at getting the bullet entry script to work. Some help would be neat. Basically this is what I want:
When the bullet hits something, it should do this:
1) Check along the vector where the next "outside"-point is. <-- Here I need help. - It should check a limited number of points along the vector.
- The number of points should depend on the speed/power of the bullet.
2) Create a bullet of the same type on that point.
3) Give it lesser speed/power, depending on the depth of entry.
Example:Pic should help explaining...A bullet with 100 speed and 50 damage hits a brick wall. In the example the distance between two points is about the 1x1 brick size. Every point the bullet loses 10 speed and 5 damage. The script checks 5 points along the bullets vector. Only 5 points so the bullet will just "stuck" in the wall if it loses more than the half speed/power. Just to prevent ultraslow/weak bullets. Then, when the first point outside of anything is found, it creates a new bullet. In the example it would be the fifth point and due to that the bullet would gain 50 speed and 25 damage.