I have made a new weapon class to shoot projectiles; this new class has no first person information or model, totally 3rd person view only.
I use a sleep to calculate the rate of fire for each specific weapon since there are no first person view animations.
Everything is working great, just one problem, when I spawn shell casings they spawn at the player models exact center and drop to the ground.
I have been trying for the last four days to figure out how to get them to spawn like they do for the regular sniper rifle, even cut and pasted code from the rifle to see if that worked, but it didn’t.
It seems to have to do with the CalcDrawOffset function. What is the minimum I need to add to get this dam function to spawn them where I want them?
Or should I skip this altogether and use a new function to determine the spawn location???
I use a sleep to calculate the rate of fire for each specific weapon since there are no first person view animations.
Everything is working great, just one problem, when I spawn shell casings they spawn at the player models exact center and drop to the ground.
I have been trying for the last four days to figure out how to get them to spawn like they do for the regular sniper rifle, even cut and pasted code from the rifle to see if that worked, but it didn’t.
It seems to have to do with the CalcDrawOffset function. What is the minimum I need to add to get this dam function to spawn them where I want them?
Or should I skip this altogether and use a new function to determine the spawn location???