Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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:

alt text

and here is the in game:

alt text

Please if you could help me with this, that would be great! Let me know if you need more information.

Product Version: Not Selected
more ▼

asked Mar 25 '15 at 01:59 PM in Blueprint Scripting

avatar image

1 3 4 4

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Mar 25 '15 at 04:32 PM

avatar image

2k 62 24 110

avatar image LindsayG90 Mar 27 '15 at 05:27 AM

Its a separate Blueprint. Its actually the blueprint that you can see there; Defaults > Components > Blueprints is the 'Chainsaw' Blueprint.

avatar image alperenakyuz Mar 27 '15 at 09:33 AM

Ok then, you simply need to use a "Cast to Chainsaw" node before getting the skeletal mesh component.

avatar image LindsayG90 Mar 27 '15 at 12:53 PM

sorry, its actually on the Character blueprint, my bad :S

avatar image alperenakyuz Mar 30 '15 at 09:19 PM

Like a child actor?

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question