Top down 3D shooter - mouse aim
Hi, I have got a little problem with aiming in top down shooter (3d)... Player control a helicopter, it is of course in the air, enemies can be on the ground or fly. My problem is the mouse cursor points somewhere, helicopter rotates to this point, but because of different height and perspective of camera it looks like I can hit the enemy, but its not true, how can I solve this problem? A picture is worth a thousand words Yellow point is mouse, cube collider look for enemies infront of player, white cube is enemy What is the best solutions? I dont wanna change camera angle...
perspective.png
(62.4 kB)
Comment