I’m making a kind of customizable viewbob in my game and I need to cast to camera shake in my character. What “object” should I plug in there?
If it’s actually IN the character, then you need a ‘getplayercharacter’ node → cast it to your player type, then you can access the stuff inside the player.
Nope, doesn’t work.
That’s not inside my character. “Viewbob_Move” is just a blueprint class camera shake in the another folder and I need to access it in my character’s blueprint.
Sorry, it’s just not clear to me what sort of thing the camera shake object is.
If one exists, you can get to it with GetActorOfClass. Then you also don’t need to cast…
Okay, thank you.