Change rotate pivot

Overview

Rate this Video:
5.00
(one vote)

Approved for Versions:4.8,4.9

This page provides a way to change the rotation pivot.

Tutorials

For example, I want to implement a pendulum. My actor has a mesh of cylinder and code implementing the rotation. However, the pivot is not right.

blueprint
blueprint

As shown in the video below, the pivot is at the bottom instead of the top.

Instead, we can clear the cylinder mesh of our pendulum actor. Then we create another new cylinder actor and make it the children of our pendulum actor.

blueprint
blueprint

Now, it swings like a pendulum.

You can change the position of the pendulum to change the rotation pivot, for example, you can move it to the middle point, so it rotates around the mid point:

blueprint

This method should be helpful to implement hinged door or other stuff.


-ywj7931