How do I change the pivot position on a component in a blueprint?

I’m looking to move the pivot of a component so it rotates on an offset axis.

2 Likes

You cant change the pivot but you can attach it to a scene component(or an arrow component) and then set the offset of your asset and use that scene component’s position as pivot.

3 Likes

Follow this steps, it works !!!

1 Like

Not necessarily. You can set that for objects in the game world, but so far there doesn’t seem to be the same option for any of the editors. Its weird that you can’t change the pivot of a mesh in the mesh editor, for example…

Useful video but UE4 lacks this kind of feature in most instances where it is actually needed.

2 Likes

Hello Jacky,

Could you please detail me the complete procedure to do this. I am a real beginner and I did’nt understand everything.

I didn’t get how to use the scene component as pivot. (I’ve place an arrow then attach the mesh to the arrow by drag an drop the mesh on the arrow in the Components Panel but I don’t know what to do next).

Thank you.

Hi Evis, here are the steps to do this in a blueprint:

  1. Open the blueprint and switch to the Viewport tab if needed
  2. Click “Add Component” and add your static mesh (the object that needs its pivot changed) if it’s not in the components list already
  3. Click “Add Component” again, and add the “Arrow” component
  4. Position the arrow component where you want the pivot to be
  5. Parent the static mesh to the arrow component (drag the static mesh over the arrow and release)
  6. Now when you move/scale/rotate the arrow, the child object (static mesh) will follow along
9 Likes

Hi dloewenfb,

Simply at that! I didn’t thought to move/scale/rotate the arrow not the static mesh and however it was a bit diffcult to include this in my Blueprint (so I’ve done it by Blender just by translating the static mesh).

Many thanks for your response.

1 Like

The problem with this is that sweep does not work on anything but the root component… so the collision component must be the root, and this must be offset itself. What’s your solution to this problem?

Useful my friend. Thank you

Thank you i’ve been wondering this for so long!

Very simple but smart solution. Thanks

This works fine but if I want to move the pivot dynamically then I can’t because if I move the paren then the child follows.