Hello, I know, that this types of question are in a lot of places, but I didn’t find the proper solution for my problem. You see, I have a weapon(skeletal mesh) and a character. I’ve already added a socket to character skeleton and it looks all ok, when just playing animations. But whatever I tried “Attach a Component to Actor” or other things with attaching, when I hit “Play”, the weapon is no there at all or is just a static thing, that is raised above the ground. And I know that I’m a great noob, so can you advice me the way to the end of the tunnel?
This is how character looks with weapon(socket):
You actually have to spawn the actor (in this case a weapon) to the level first before it is able to Attach Actor to Component.
What I do to display the swords in this [MMORPG WIP][1] of mine is this:
SetWeapons gets called on EventBeginPlay and weapon_r is the name of my socket. The Spawn Transform can be anything because as soon as the EventBeginPlay fires your actor (in my case a sword) will be attached to the socket.
You’re welcome. I simply created a variable, gave it the transform type and left all the default values. You can also drag off of the Spawn Transform input on the SpawnActor node and promote to variable.
would you guys be able to help me figure out how to get a two people player 1 and payer 2 skeletal meshes to spawn in a car skeletal mesh like Mario kart double dash!! i cant find proper documentation a anywhere on this matter!!
I no it has something to do with sockets but it gets very confusing at first!! i need help from the masters!!!
would you guys be able to help me figure out how to get a two people player 1 and payer 2 skeletal meshes to spawn in a car skeletal mesh like Mario kart double dash!! i cant find proper documentation a anywhere on this matter!!
I no it has something to do with sockets but it gets very confusing at first!! i need help from the masters!!!