I am trying to make a bullet hole that is on the wall which has been shot. I have got it all working upto the point of where the rotation of the hole is on weird angles. I shoot one wall straight infront of me and its nicely on the wall then I shoot a wall on an angle or the roof and it isnt doing as it should.
Here is the line of code that goes with the bullet hole
Code: Select all
bul_hole->setRotation(tri.getNormal().normalize());Thanks for any help that is given,
Ry