Object That Can Be Grabbed Not Moving With Timeline

Hi. I am trying grab a bp_pickupcube that is animated going up and down using a timeline but the cube is not moving.

For blueprints I have event beginplay to timeline to addreletivelocation to bp_pickupcube and have made it go up in down through the timeline.

Tried doing different things with physics and collision but its not working. How can I get it to move? Thanks.

Sounds like it could be a few things, but most likely is that the pickupcube actor only has one component - the cube itself. This means that that component has no relative transform, as the transform for the cube is one and the same as the transform of the object, not its relative offset to the actor.

To correct this, you could probably add a scene component to the actor and make the cube a child of that component and the scene component the root component of the actor. This will allow the cube to move relative to the scene component, so your timeline should work.

Yes everything you have said makes sense. When I am able to test this out I will do this. Thank you for helping and your time.