# Trying to move a box actor?

**URL:** <https://forums.unrealengine.com/t/trying-to-move-a-box-actor/52131>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [January 11, 2016, 4:37pm UTC](https://forums.unrealengine.com/t/trying-to-move-a-box-actor/52131 "2016-01-11T16:37:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sheeplie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sheeplie](https://forums.unrealengine.com/u/Sheeplie)\
**Post date:** [January 11, 2016, 4:37pm UTC](https://forums.unrealengine.com/t/trying-to-move-a-box-actor/52131/1 "2016-01-11T16:37:37Z")

</div>

Hi, I’ve got a box actor called ‘Spike box’, I’m trying to make it so that the box follows the location of a player. I’m looking at something I found online for a reference.

The reference: [https://answers.unrealengine.com/questions/15904/blueprint-how-to-move-an-actor-in-a-certain-direct.html](https://answers.unrealengine.com/questions/15904/blueprint-how-to-move-an-actor-in-a-certain-direct.html)

Here’s my rendition of that: [http://i.imgur.com/i9NzptU.png](http://i.imgur.com/i9NzptU.png)

While I tried to copy the same basic logic that person was going for best I could, I don’t really understand the ins and outs of using that kind of math in programming. Is there some sort of book or tutorial dedicated to math in programming?

---

<div class="post-metadata">

**Author:** ![DevilsD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/devilsd/32/890854_2.png) [@DevilsD](https://forums.unrealengine.com/u/DevilsD)\
**Post date:** [January 12, 2016, 6:13am UTC](https://forums.unrealengine.com/t/trying-to-move-a-box-actor/52131/2 "2016-01-12T06:13:44Z")

</div>

Try taking a look at some basic Vector Mathematics that you would find in High School text books as well as Physics text books. Games and programming in general use fundamental physics/mathematics concepts everywhere, any Math resource will help you further your understanding of how to apply it to programming solutions. Once you know the reasons or the results of a particular equation or concept, you can then apply it to a game concept.

Try looking at the components of a solution and step through it bit by bit to see what it is doing on a smaller scope in each step and then use that understanding of the components that make up the solution to understand it as a whole.

---

<div class="post-metadata">

**Author:** ![Sheeplie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sheeplie](https://forums.unrealengine.com/u/Sheeplie)\
**Post date:** [January 19, 2016, 4:07am UTC](https://forums.unrealengine.com/t/trying-to-move-a-box-actor/52131/3 "2016-01-19T04:07:07Z")

</div>

Thank you, I will look into this.
