Hey ho,
how can I access the Character Mesh from within the Playercontroller?
I want to Attach a spawned Weapon to my Char.
Or better: Where can I find a good Tutorial with best practices to handle such things?
Thanks !
Hey ho,
how can I access the Character Mesh from within the Playercontroller?
I want to Attach a spawned Weapon to my Char.
Or better: Where can I find a good Tutorial with best practices to handle such things?
Thanks !
Check out ShooterGame for how they handle this.
From PlayerController, you can get ControlledPawn, from that pawn cast to your character class and get character mesh.
Also, in addition to Duncan Dam’s answer, I would highly recommend the First Person Shooter tutorial on the wiki for a good overview of how to do this.