[Community Project] Real Time Strategy Game. NEW MODELS AVAILABLE. SEE POST #1

I’ve been experimenting with a new camera system for the project. Like I said in a previous post, this camera is actually a Pawn and is treated as such. I am trying to make it as generic as possible so that we can customize its behaviour in different ways.

Currently, it can move across the map and zoom-in and zoom-out. Anotehr feature is it can adjust the height based on terrain. That is suppose you are at a height of 500 meters from ground and you move the camera and you come across a raised ground (a plateau for instance), it will automatically zoom-out to maintain 500m distance always. This is very basic at the moment and result in jerky movement (if the terrain is very rough). But you can enable or disable this option.

is a very short video of the work://www.youtube.com/?v=iarjT-FkaOg

During movement, if it collides with a structure, it will automatically avoid it (not in the video)

Another thing I am working on is to tell the camera to focus a particular actor from a particular distance and angle and the camera will either smoothly/instantly (based on options) move to that setup. This will come handy for spotting units or structures.

I will update this whenever I have some major changes. I will not push to master until its fully done. Let me know if you need any other functionality and I will see if I can add that too.

PS: To make it work we will need a new Trace channel named ‘Terrain’ which only the terrain can block (every other actor must ignore it)