# SideScroller Project - How did they constrain movement?

**URL:** <https://forums.unrealengine.com/t/sidescroller-project-how-did-they-constrain-movement/345246>\
**Category:** Character & Animation\
**Tags:** tutorial, sidescroller, example, unreal-engine, constraint, question\
**Created:** [January 25, 2016, 6:07pm UTC](https://forums.unrealengine.com/t/sidescroller-project-how-did-they-constrain-movement/345246 "2016-01-25T18:07:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_36b471fa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_36b471fa](https://forums.unrealengine.com/u/anonymous_user_36b471fa)\
**Post date:** [January 25, 2016, 6:07pm UTC](https://forums.unrealengine.com/t/sidescroller-project-how-did-they-constrain-movement/345246/1 "2016-01-25T18:07:02Z")

</div>

Hello,

I’m fairly new to Unreal and have gone through a few tutorials and sample project creations. I’m digging through the SideScroller project and trying to figure out how they constrained movement to the y/z axis. I would have expected the Physics/Constraints/Lock Position check boxes to have been set, but they aren’t. I added an input to move along the x axis and the character just turns to face the direction, but doesn’t actually move. There is also no C++ code for this, so it can’t have been done in code.

Does anyone know how this constraint was set?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_36b471fa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_36b471fa](https://forums.unrealengine.com/u/anonymous_user_36b471fa)\
**Post date:** [January 26, 2016, 4:54am UTC](https://forums.unrealengine.com/t/sidescroller-project-how-did-they-constrain-movement/345246/2 "2016-01-26T04:54:07Z")

</div>

I found it! With more searching I tracked down inside the SideScrollerCharacter’s CharacterMovement inside a setting under “Planar Movement” called “Constrain to Plain”.

This is hidden though from the main view in the main editor. If you are in the primary editor window and you select your character on the stage, the Details pane will show tons of settings. This section called “Planar Movement” does NOT show up here. I don’t understand why.

To find it I opened the Side Scroller Character object itself, then under the Components tab I selected “Character Movement (Inherited)”. Then in the Details panel here, near the bottom you can find “Planar Movement”.

Any ideas why “Planar Movement” does not show up in the main editor’s “Details” panel?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_36b471fa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_36b471fa](https://forums.unrealengine.com/u/anonymous_user_36b471fa)\
**Post date:** [January 26, 2016, 5:03am UTC](https://forums.unrealengine.com/t/sidescroller-project-how-did-they-constrain-movement/345246/3 "2016-01-26T05:03:16Z")

</div>

Wow, so I went and changed it to constrain to the X/Y plane, watched the character move along that as appropriate and then changed it back to the X plane (1,0,0). It’s still moving along the X/Y plane! What did I do? Did I override the existing player and change the template and have to revert it or something? I have no idea what I did wrong here!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_36b471fa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_36b471fa](https://forums.unrealengine.com/u/anonymous_user_36b471fa)\
**Post date:** [January 26, 2016, 5:15am UTC](https://forums.unrealengine.com/t/sidescroller-project-how-did-they-constrain-movement/345246/4 "2016-01-26T05:15:07Z")

</div>

Found a fix. This looks like an editor bug. I’ll see if I can find a way to report it.
