Godot Version
4.4
Question
`Hi,
I’m trying to create a hitscan weapon that can be fired from inside a vehicle.
I got everything done, the weapon works fine, it uses a raycast node to register hits,
you can get in the car with the gun, BUT when you fire the gun inside the car the bullet
immediately hits the car and stops.
I want to make it so that the bullet ignores the first hit (which is always the cars collision shape) and travels outside the car, but apparently you can’t do that with raycasting.
Or can you?
Is there a way for a hitscan/raycast weapon to ignore the first hit and keep moving past it?
Any help would be appreciated, thank you!