x

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"

Same skeleton does not allow more than 1 collision attached

I have a skeleton which is shared by two different Skeletal Meshes, one is the Main character which has a socket attached to the arm, which I use to attach a sword. The other is an enemy where I am using another socket in the same bone, however in this one I am trying to attach a simple box collision. When I attempt this, it displays fine in viewport inside the Blueprint and even before play, however when I play, the collision appears at the root of the Enemy Blueprint. Am I doing something wrong or could this potentially be a bug?

Product Version: UE 4.9
Tags:
more ▼

asked Mar 23 '16 at 05:42 PM in Bug Reports

avatar image

UpARiver
225 21 28 89

avatar image TJ V ♦♦ STAFF Mar 25 '16 at 05:51 PM

Hi UpARiver,

Could you post screenshots of exactly how you are attaching the Collision Box or a small test project?

avatar image UpARiver Mar 25 '16 at 06:15 PM

I hope this is what you need.http://imgur.com/a/lMiqt I am spawning the collisions inside my Enemy BP as they were being displayed as extra targets in my LockEnemy Mechanic, then I have a socket which is used by the main character to have a sword there (both Enemy and Main character share the skeleton and animations, just different mesh) which then in the construction script I attach it to the socket. When playing, the socket appears in the same place as it was in the BP and is not following the enemys hand.http://imgur.com/iuz5Xsk

If you need the project, ill hand it to you, it is 2.5gb though.

avatar image TJ V ♦♦ STAFF Mar 28 '16 at 08:29 PM

If you could upload the project, that would be best. Instead of sending the 2.5gb project, try creating a new project and just merging over the assets in question (just make sure the issue is still reproducible there).

If it's to large to upload directly to here, upload it to either Google Drive or Dropbox and then post a link here to download it.

avatar image UpARiver Mar 29 '16 at 07:00 PM

I have sent you a PM in the Unreal Engine forums with the download link.

avatar image TJ V ♦♦ STAFF Mar 29 '16 at 08:23 PM

Hmm, I'm not seeing any new PM's. Could you try sending it again?

avatar image UpARiver Mar 29 '16 at 09:37 PM

Strange, I sent it again. Now it shows in the sent items, don't know why it not worked the first time... Is it there now?

avatar image TJ V ♦♦ STAFF Mar 30 '16 at 11:56 AM

Yep, I got it this time. Thanks for sending it again. I'll look into this as soon as I can.

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

1 answer: sort voted first

So the 'Collision Armour' being spawned and set on Begin Play in the Event Graph can't be used properly by the Construction Script, because the Const Script has already fired at begin play. That is one issue.

The other is the Target and In Parent nodes in the Armour need to be reversed.

alt text

I would also make the 'Collision_Armour' a component in the 'Armour' bp and then use it directly.

You could also bypass this completely by setting the 'Parent Socket' directly in the 'Collision_Armour' component.

alt text

Let me know if that fixes the issue for you. It did for me inside of your test project.

skelcoll01.png (49.4 kB)
skelcoll02.png (200.9 kB)
more ▼

answered Mar 30 '16 at 07:02 PM

avatar image

TJ V ♦♦ STAFF
41.2k 1009 181 493

avatar image UpARiver Mar 31 '16 at 09:48 AM

Oh I see, big rookie mistake there :P. Many thanks for the help! Didn't know about the spawn and construction script issue, will take that into consideration in the future.

(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