Locked camera like in airplane shooting games

Hi all,
I’m trying to create a game like Youtube video but i don’t understand how to make the camera locked and the possibility to move the airship only between the limit of the android screen

You did not mention whether this is for 3d or 2d (2d is more likely here). My 2d experience is pretty much non-existent but here’s how I’d potentially tackle it in 3d:

  • the ship is a pretty standard Pawn:

  • the Limiter actor does 2 things, it both blocks and moves the Ship:

The Ship implements its own movement but since it’s attached to the Limiter via a Child Component, it moves with the Limiter and bumps into its collision boxes. (thanks to Floating Pawn Movement + Add Movement Input nodes)

Seems to work well enough for what it is. Ideally the collision should be set up with proper channels, etc.

Image from Gyazo

Oh mate, thanks for the answer! That solved the problem, i just needed an input on how to achieve the objective, your example is perfect!