Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

SideScroller Project - How did they constrain movement?


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?

Product Version: UE 4.10
more ▼

asked Jan 25 '16 at 06:07 PM in Using UE4

avatar image

Elbryan Wyndon
33 4 6 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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?

more ▼

answered Jan 26 '16 at 04:54 AM

avatar image

Elbryan Wyndon
33 4 6 11

avatar image Elbryan Wyndon Jan 26 '16 at 05:03 AM

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!

avatar image Elbryan Wyndon Jan 26 '16 at 05:15 AM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question