blueprint
Clamping player movement to viewport in 2D-Topdown-Scroller
- Exposure: public
- UE Version: 5.2
The project is a topdown game with a helicopter that moves only on the X and Y axis. The camera moves on a spline and a timeline, so that the helicopter can move independent from the camera. I want to restrict the movement of the helicopter to the viewport so that it cannot move outside the screen.
ctrl + v
1 comment
-
Please help me with this. The project is a topdown game with a helicopter that moves only on the X and Y axis. The camera moves on a spline and a timeline, so that the helicopter can move independent from the camera. I want to restrict the movement of the helicopter so that it cannot move outside the viewport.
Rockshurt
June 21, 2023, 12:11 pm