How to make the camera follow my rag doll character?
I created my project using the "Code Side Scroller" template so that I have a blueprint character with a "CameraBoom" attached. The camera now looks at my character pawn capsule.
Now, I turn on ragdoll of my character with these 2 lines of code:
Is there a way for me to, with code, make the camera look at the character mesh instead of the capsule? It looks like I can do it by calling CameraBoom's AttachTo function, but what should I use as the first parameter as it should be of type USceneComponent*? Thank you.
asked Sep 10 '14 at 05:52 PM in C++ Programming
When you ragdoll your character, the actor stays still and as you see the camera is following the actor not the mesh. Here's my solution, if you're character is dead, have the tick event update the actor to follow the ragdoll. Warping the actor like this will ignore physics collisions.
answered Jan 31 '15 at 05:35 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here