# Need some help with pushing a cube ( add movement on collide ) Blueprint

**URL:** <https://forums.unrealengine.com/t/need-some-help-with-pushing-a-cube-add-movement-on-collide-blueprint/687588>\
**Category:** Blueprint\
**Tags:** move, flipbook, unreal-engine, UE5-0, cube, question\
**Created:** [November 9, 2022, 10:28pm UTC](https://forums.unrealengine.com/t/need-some-help-with-pushing-a-cube-add-movement-on-collide-blueprint/687588 "2022-11-09T22:28:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![3picera](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3picera](https://forums.unrealengine.com/u/3picera)\
**Post date:** [November 9, 2022, 10:28pm UTC](https://forums.unrealengine.com/t/need-some-help-with-pushing-a-cube-add-movement-on-collide-blueprint/687588/1 "2022-11-09T22:28:03Z")

</div>

Hi!  
I give up after several attempts and searches for an answer, hoping you  
guys can help me out a bit with understanding how to move cubes around by  
having my player push them around.  
I’m doing a 2D platformer with flipbook and try to keep things simple in BP.  
In my head I just want to move my cube by translating it when the player pushes  
it from the side in X, but I cant seem to make the cube take inputs, tried several things.

I could use physics and push it, but that results in weird jumping actions in the cube, not smooth movement like I want. Since I have no Idea how to make it sliding around smoothly I will now try to move it by values.

Currently I just try to add movement by pressing a button, that I will later set up to act on collision from player.  
Not sure If Im suppose tu use an actor or pawn, or move component to function…  
It should not be this hard to move something, please help! :'D

 ![Pawn_move_box](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/8/4/88482512363b400e4a95dd39d79c00bedcd73e0e.jpeg)

---

<div class="post-metadata">

**Author:** ![3picera](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3picera](https://forums.unrealengine.com/u/3picera)\
**Post date:** [November 9, 2022, 11:01pm UTC](https://forums.unrealengine.com/t/need-some-help-with-pushing-a-cube-add-movement-on-collide-blueprint/687588/2 "2022-11-09T23:01:44Z")

</div>

Okay, update…  
I read up on actor vs pawn, and from what I understood the pawn should be used for  
when one want to possess something like a car, and keep the player inputs.  
So I have created an actor instead and managed to add input data with the G key for now.

So next step will be to figure out how to make the position of the cube change when player is colliding with it, and adds axis value in some direction.

 ![actor_move_box](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/8/ce838d55a59de1f0a34b25dc9f0f1a985302e660.jpeg)

---

<div class="post-metadata">

**Author:** ![3picera](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3picera](https://forums.unrealengine.com/u/3picera)\
**Post date:** [November 13, 2022, 3:47pm UTC](https://forums.unrealengine.com/t/need-some-help-with-pushing-a-cube-add-movement-on-collide-blueprint/687588/3 "2022-11-13T15:47:12Z")

</div>

Still haven’t figured out how to solve this issue…  
Latest try was hopeful but creates more problem than it solves. I tried attach the cube  
to the player on collision, it worked. Sadly It was hard to make sure it detached correctly and I would get issues like not being able to keep pushing directly after letting go.

Anyone got any tips?  
I just want to be able to push a block smoothly over any surface, needs gravity as well as being able to go up slopes.

![pushBlock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/0/af04e9dab6bd47679f9f1b9eebba4c8e0d655eab.jpeg)

---

<div class="post-metadata">

**Author:** ![PresumptivePanda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/presumptivepanda/32/1194593_2.png) [@PresumptivePanda](https://forums.unrealengine.com/u/PresumptivePanda)\
**Post date:** [November 23, 2022, 3:37am UTC](https://forums.unrealengine.com/t/need-some-help-with-pushing-a-cube-add-movement-on-collide-blueprint/687588/4 "2022-11-23T03:37:34Z")

</div>

This topic has been moved from **International** to **Programming & Scripting: Blueprint**.

When posting, please review the categories to ensure your topic is posted in the most relevant space. Hopefully, this new category helps you to get answers.

In the meantime, good luck and happy developing 🙂

---

<div class="post-metadata">

**Author:** ![lordlolek](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lordlolek/32/906205_2.png) [@lordlolek](https://forums.unrealengine.com/u/lordlolek)\
**Post date:** [November 23, 2022, 3:41pm UTC](https://forums.unrealengine.com/t/need-some-help-with-pushing-a-cube-add-movement-on-collide-blueprint/687588/5 "2022-11-23T15:41:50Z")

</div>

Hi 3picera,  
If the physics is to unpredictible for your case, I would add collider with overlap event. If the player stands in it and pushes towards the cube you can simply add local offset, same as the players movement.  
As for gravity, if it’s only “fall if not standing on the floor” then adding line trace facing downwards will help you to detect if it should fall down or not.

---

<div class="post-metadata">

**Author:** ![3picera](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3picera](https://forums.unrealengine.com/u/3picera)\
**Post date:** [November 21, 2025, 12:14pm UTC](https://forums.unrealengine.com/t/need-some-help-with-pushing-a-cube-add-movement-on-collide-blueprint/687588/6 "2025-11-21T12:14:31Z")

</div>

Wow, sorry for a 3 year late reply! And thank you!  
I kinda stopped working on this due to reasons, but! Im now working full time on a new game and have been able to work with some physics with good results. Not pushing cubes anymore but throwing stuff into them and activating overlap events and other.  
I´ll try to be more active on the forum from now on and also try to help!
