Weapon not attached correctly to Player - Using PlayerCharacter
Hey guys quick question; I just have character in my game who will have a selected number of weapon in his inventory to choose from, however, he starts off with the 'default' weapon 'chainsaw'.
Now i have followed a tutorial on weapon set ups, http://creategamesfromscratch.blogspot.co.at/2014/05/prototype-adding-hands-and-weapon.html
However, my mesh is a skeletal mesh (with animations), not just a static one. I have set up the Actor with the chainsaw inside it (Mesh as the Native component)
I am currently working on the 'Function' used in the tutorials, however instead of 'Set STATIC mesh' its 'Set SKELETAL Mesh'. Firstly, is this right? secondly, i have added the 'begin play' event, and its seems to be working fine with no errors, however, there is no mesh in the level while playing it.
Here is a screenshot of the Function, and the in game:
and here is the in game:
Please if you could help me with this, that would be great! Let me know if you need more information.
asked Mar 25 '15 at 01:59 PM in Blueprint Scripting
Quick diagnostic question: is your chainsaw a separate blueprint or is it a skeletal mesh within your player character?
If it's a separate blueprint then you first need to use a "cast to chainsaw(or whatever it's named)" node then get the skeletal mesh.
If it's a skeletal mesh within the player blueprint then you should plug it right into the set skeletal mesh target.
answered Mar 25 '15 at 04:32 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here