Can I link a camera to an animated object?

Hello,
I would like to make a camera linked to an animated object, is it possible for example that I have a car on road and I want to make player sitting behind wheel and look around while car is moving (car is not controlled by player its animated mesh). Can someone explain me how can I make this?

Many thanks

Use camera component insted of camera actor, or else you mean animated in matinee then correct quastion should be how to make camera relative to actor

Hello,
I will describe it a bit more.

What I need is to animate a dummy in 3dsmax, lets say that this dummy will be a players neck position. Then I need to import this dummy into engine and make this dummy as a players neck. Player wont walk around, but will be driven by dummy animation, only what player can do is controlling head position by oculus rift or mouse control. Hope its more clear now, if not I can explain it further.

Many thanks

Hey ,

It sounds like you have a scenario in which you want to remove movement controls from player (while they are in a car that they are riding and not controlling, as in your example) but player retains camera control. easiest way to do this will be to simple disable CharacterMovement component of your character (or your own movement controls if you are creating them yourself) while character is in car. player will continue to have camera control while being unable to move character directly, and camera will follow character’s position (as car moves them, for example).

If you want to change way camera behaves when in this scenario, you can do that via Blueprint as well, manipulating character’s camera component. Or, if you would prefer, you can set up a second camera and switch to it when your character gets in car… though this is a more complex way of handling it and may not be necessary.

Hope that helps!

Hello ,
thank you, I have made blueprint of just looking around without moving, but what Iam missing now is how to add players start into dummy position in a car while car is moving.

Thank you

Is your Blueprint of an Actor Class with a Camera component? Or is it a Character Class? How do you move your player to car? How are you moving your car?

I have animation of car in 3dsmax and I need to link a camera in engine which will move along with car and will be able to control just movement of camera. I know that its probably something super easy to do but we are starting with engine :slight_smile: I want just to start game with camera inside moving car and be able to look around, no other control of movement or anything, just that I will make animation completely in 3dsmax of “neck” of player and in engine I just want to look around from neck position from beginning to end. Hope it make sense :slight_smile:

Thank you

I just used Pawn and link it to animated object so its working :slight_smile:

1 Like