Dear all,
I am new to UE4 and i am trying to make flying empty pawn for exterior architecture purposes, i want to control it by keys and mouse (Drone movement). i don’t know how to start please help or send me any reference so i can build it.
Thank you all
1 Like
Hi, you can add the FloatingPawnMovement component to your pawn by clicking on the Add Component button, then you can customize the speed/acceleration etc.
Add a spring Arm to your Pawn and a camera and attach the camera to the spring arm (It should attach automatically) select the spring arm and check the Use Pawn Control Rotation
Also select your pawn and check Use Controller Rotation Yaw.
Now all you need to do is use your inputs to control the pawn thanks to the FloatingPawn component, you should have the Turn/Lookup events if you’re using one of UE4 templates otherwise you’ll need to use/add your inputs.
That’s it, you might need to set it as your default pawn in the world settings windows, let me know if something is wrong, also if something is reverted just multiply by -1 and you can multiplier the turn/lookup axis value by something to add/reduce the mouse sensitivity.
Cheers.
1 Like