Hi,
How do you add simple movement to a camera actor? So moving forwards and moving right and all that. I got the player to posses the camera and able to switch through static camera within the level, but I have one camera that I want to free roam around the level.
I think its simple to do, but i seem to be complicating it too much.
Many thanks
Mrfantasticghost
Hi!
You will need to add MatineeActor in your level to handle any movement of any desired dynamic actor:
If you already have a CameraActor in your level - just add it to Matinee as a New Empty Group, by selecting Camera in the level, then right-clicking on the free space in Matinee and choosing “Add New Empty Group”:
Right-Click on your Camera Group again to bring up the context menu, then select Add New Movement Track
If you have no Camera in the level - just click Camera button (it is placed next to Reverse button) - it will add one for you with Movement and FOV angle control tracks already setuped.
When you have Movement track - just select it, then chose desired time and press Enter - this will create a keyframe. Notice the red text line in the bottom of your viewport and Matinee window that says “ADJUST KEY# Movement”. This means, that you could change translation or rotation of your camera at this point. You could change it by flying inside viewport or by dragging camera with translation widgets in other viewport for more precise control.
Another important thing is to create a Director group, that will switch game camera to your animated camera every time you pass a signal into Play input of your Matinee reference in Blueprint. Just right-click on the free space below your Camera group in Matinee and choose “Add New Director Group”:
Move the Time Bar back to 0.00 (if it is not already there) and click on the Director track then press Enter to add a keyframe. Then choose your Camera in the drop-down menu.
Now you will be able to see through your camera in the viewport.
On more details on how to hook the Matinee into your Blueprint see this article from section “Hooking the Matinee up to the TriggerBox”
https://udn.unrealengine.com/docs/ue4/INT/Engine/Matinee/HowTo/MHT_1/index.html
Hope that will help you!