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"

Ignore parent transform?

Hello, i was wondering if there is any direct way for a component to ignore any parent transform? or, at the least, the change in the Z location. it's about the crouching, but that shouldn't matter.

Product Version: Not Selected
Tags:
more ▼

asked Mar 07 '15 at 12:05 AM in Using UE4

avatar image

Filoppi
56 3 8 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

5 answers: sort voted first

Probably absolute/world position instead of relative will help you. You find it in the component details > transform.

more ▼

answered Apr 17 '15 at 03:04 PM

avatar image

Ferret_228_
16 1 2

avatar image MattWoelkMonk Apr 12 '18 at 03:12 PM

Click on the little drop-down arrow beside the property that you want to switch from relative to world. alt text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Detach it from the parent.

more ▼

answered Mar 07 '15 at 01:27 PM

avatar image

MulleDK19
2.4k 161 273 253

avatar image Filoppi Mar 07 '15 at 04:41 PM

well then it's not a child anymore. anyway, i managed by updating the position manually every frame, even if it is not what i was looking for, but i guess there is no "official" way to do it.

avatar image Bonnnnnn Apr 17 '15 at 03:00 PM

Leaving a comment here so I remember to down vote you when I have enough reputation.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

You can remove all child components -> rotate, move or scale parent -> and reattach all child components.

Like that: alt text

imag1264.jpg (531.0 kB)
more ▼

answered Feb 19 '16 at 02:40 PM

avatar image

Ignisor
93 3 7 13

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

All the answers talk about changing relative location / detach & reattach but none of those are correct if you're looking for is to inherit scale / position but not rotation. Thankfully, the easier answer (at least in 4.15, unsure if it was available beforehand) is the SetAbsoluteXXXXX which is a pin you can pull off any scene component.

edit: This will maintain an absolute rotation regardless of parenting.

See this post: https://answers.unrealengine.com/questions/188079/ignore-rotation-with-attached-non-character-compon.html

more ▼

answered Mar 24 '17 at 08:43 PM

avatar image

MrCorzell
16 1 2 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Here's a (potentially) less costly option than using an every-frame rotation change, but using the Set Absolute node and checking Rotation is probably the simplest. The option I used for a while was to add a SpringArm to the parent, then make the object you don't want to move a child of the spring arm. Then in the spring arm's settings:

  • set Target Arm Length to 0,

  • Untick Do Collision Test,

  • Untick Inherit Pitch,

  • Untick Inherit Yaw,

  • Untick Inherit Roll,

Then just put the spring arm where you want it, acting like an anchor, and you're good to go. However, if you want the object to constantly be facing the camera while it moves in perspective, you'll still need to use an every frame adjustment of its rotation.

more ▼

answered Jun 13 '18 at 05:42 PM

avatar image

Last_Mavrik
12 4 6 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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