Best MouseLook from TopDownShooter
I want to make a mouse look Top down view isometric shooter. I've got all of the projectiles, health, death and player failure states, but I have yet to get the movement and aiming to a state where i'm comfortable with. I need a mouselook that allows me to use a crosshair and shoot directly at it. The movement I want is to have pressing W move you towards the crosshair but i can't figure out how to make it do that. This is what I have so far It is driving me insane! Any help is greatly appreciated.
asked Jul 25 '16 at 07:23 PM in Blueprint Scripting
The convert mouse to world location returns where in the world you are clicking so doing a linetrace from there is meaningless.
Instead you can create a vector from your character towards that point by doing this: Direction vector = normalize(mousetoworldVector-characterlocationVector) set the forward vector to this new direction vector
calculate the angle between the two vectors and rotate that angle around the up vector as an axis.
answered Jul 25 '16 at 07:32 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here