How to Attach a Mesh to Socket
Quick question. What is the method for attaching a mesh object to a socket on the character?
So far this is where i'm at. I would like to call this at BeginPlay so as soon as the character enters he/she will have a particular mesh already attached, as opposed to handling it via constructor. This way in C++ I can create conditions on whether or not it is actually there or not.
you're sort of halfway between two options
ake the Static Mesh a sub object ptr actor component of the actor itself, and add/remove it at any time (this is how I do things, for equipping / de equipping both skeletal mesh and static mesh weapons and armor from a character very quickly
2, more clumsy
ake a static mesh actor, spawn it at runtime, and attach it to the player using a socket name
Since I don't recommend #2 I am not going to explain it further
for #1 see my wiki tutorial!
Wiki Tutorial on custom Actor Components
answered Jun 27 '14 at 08:36 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here