Raycasting through the tank

I found a small bug when moving the camera so that the crosshair goes through the tank

It was actually solved in building escape by implementing the FCollisionQueryParams:

I needed to replace GetOwner() with GetPawn() but it solved the issue.

;oB

Privacy & Terms