DEV Community

Maciej Sawicki
Maciej Sawicki

Posted on • Edited on

[Game of Purpose] Day 20 - Drone basic movement somewhat works

Today I created a dedicated drone blueprint. I manually configured Event graph, so that the drone moves horizontally and the camera rotates accordingly. It's basically the same as in BP_ThirdPersonCharacter blueprint that is a default Manny player, but I played around with each node and I think I understand what is going on there.

Image description

The top setup section basically finds Enhanced Input Local Player Subsystem and sets our key mapping file (WSAD, mouse, etc.).

The middle camera section takes raw mouse x, y values and sets them as yaw and pitch.

The bottom movement section is a bit more complicated. I'm not sure what Get Control Rotation and what Get Right Vector do. Will need to debug it more.

Top comments (0)