nbenven95 / BattleTank

Second major project in the Udemy Unreal Engine 4 course (project is actually C++, github seems to have goofed)
0 stars 0 forks source link

First person aim bug #34

Open nbenven95 opened 5 years ago

nbenven95 commented 5 years ago

Add an optional first person camera view for the tank.

After adding the first person camera, there is a bug where if the crosshair overlaps with the player tank's barrel, the aiming architecture attempts to find an aim solution to aim at its own barrel (which it obviously can't) which causes the barrel to just vibrate. Again this is another overarching issue with this aiming architecture. May be able to fix this in TankPlayerController::GetLookVectorHitLocation and remove the tank barrel from the raycast collision channel.

nbenven95 commented 5 years ago