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"

SetBoneTransformByName overrides previous

Download the following file: https://www.dropbox.com/s/cb0u2ydv3hrtgne/SK_ProtoTurret2.zip?dl=0

  1. Create a new blank blueprint project and import the provided file.

  2. Create a new actor blueprint, add a poseablemeshcomponent and set the mesh to the imported file.

  3. In the construction tab, add a SetBoneRotationByName, set the name to Turret and Z to 45.0.

  4. In the viewport, note the rotation of the turret.

  5. Back in the construction tab, add another SetBoneRotationByName and connect it to the previous. Set the name to Barrel and Y to -45.0.

  6. In the viewport, note the rotation of the barrel but the lack of rotation on the turret!

Product Version: UE 4.18
Tags:
more ▼

asked Nov 29 '17 at 04:19 AM in Bug Reports

avatar image

duke22
175 11 15 26

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

1 answer: sort voted first

Hi,

This is by design/how the construction script functions. If you need them to both turn at the same time, you would need to use an animation montage or another method. If you have any other questions regarding this feel free to reopen this thread.

-Thank you

more ▼

answered Dec 01 '17 at 09:50 PM

avatar image

Ridley R ♦♦ STAFF
1.2k 2 4 4

avatar image duke22 Dec 04 '17 at 01:02 AM

It doesn't just do this in the construction script, it does it in beginplay or tick, and it does it when you use equivalent functions in an animation blueprint.

avatar image Ridley R ♦♦ STAFF Dec 11 '17 at 08:50 PM

Hi,

When you say "in beginplay or tick" are you using these nodes while still in the construction script or event graph, etc.? Also, what "equivalent functions in an animation Blueprint" are you using? If you submit a sample project I can take another look at the issue, however if this is in the construction script it is by design.

-Thank you

avatar image duke22 Dec 12 '17 at 03:06 AM

I mean when using those nodes in beginplay and tick they exhibit the same behaviour. The equivalent node in the animation graph is "Transform (Modify) Bone". Try rotating the upper arm in the standard UE4 mannequin and then the lower arm. The lower arm will work but upper doesn't. The upper without the subsequent lower works.

avatar image Ridley R ♦♦ STAFF Dec 29 '17 at 10:40 PM

Hi,

If you can post a sample project or some screenshots I can take another look at the issuem, but this should be intentional as well.

-Thank you

(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