I’ve just started delving into UE4 and started a small project but I’ve hit a stumbling block, so I’m looking for some advice to get me on the right track.
This is my goal - have a static mesh move forward at the same time as the player camera for a set distance. Lets say move in X for 30000 units.
The desired affect is like stepping into a rollercoaster and have it take you for a ride (in a straight line).
Now from my experience with UDK, I can easily achieve this with a Matinee, which I have for the time being to test my level. I have the static mesh(lets say its a rollercoaster carriage) on a movement track and a camera that moves in a parallel track.
But this does not give me the flexibility I want.
The camera needs to be player controlled. Fixed in position, but the player can look up, down, left and right. Which as far as I’m aware cannot be achieved with a matinee sequence.
The sequence I am looking to achieve is - Player enters the carriage and is locked into position (sat down), the carriage then moves forward at speed for a set distance, the player can look around but not move while the carriage moves forward.
I have tried using the level blueprint to move a “carriage” blueprint on trigger, which works fine using a timeline vector track, but when I attempt to attach a camera I run into problems. I do not know how to possess the camera and have the camera be attached to a fixed point in the blueprint that contains the static mesh and have them move together.
I have attempted to use the UFO blueprint example in the Content Examples, but I am unable to get it working for my blueprints, especially as that sets the player controller to the whole blueprint and not a fixed camera.
I assume my “carriage” has to be a pawn blueprint, but I only wish to posses the camera and have the blueprint carriage move in a set direction for a set distance.
I’d appreciate any advice, just to get me on the correct track.
I simply want to take a player for a little ride (simply being the operative word)