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.

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.

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

1 Like

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

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

Like that:

1 Like

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:

3 Likes

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

237251-relative-world-rotation.png

2 Likes

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.

YESSSS !!! I was looking for a while for this one
thanks mate

this is really a bad faith answer honestly

me too, this is pathetic

This is a solution though. Detach then re-attach. Re-attaching is implicit.