x

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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

3D side scroller game movement control problems

Guys, I'm very new to UE4, I've been trying to make a 3D side scroller game test just to check how everything works out. I created a blank project and followed UE4 Introduction to Third Person Blueprint game to do the input and character controllers and stuff. I manage to make the character idle/walk/run, jump and some basic items pick up. However, there is a problem with the jump, it doesn't jump in one axis (Y axis), the walk/run move in Y axis tho.

Here is the link of the game test: https://www.youtube.com/watch?v=zZtxuois9RE&feature=youtu.be

If you look at where the character stands at the start, it should be in the the middle of the ground according the grid of the ground. However, you will see in the video, after the character jump and it doesnt land in the middle of the ground any more (it doesnt happen with every jump tho, sometimes it lands in the middle of the ground, but sometime doesnt), therefore, the character cant pick up items. D: How do I set my character to jump in one axis?

Here is a screen shot of MyCharacter event graph http://i.imgur.com/KDoqLXr.jpg

Here is a screen shot of MyCharacter component http://i.imgur.com/xwLVySD.jpg

the second problem is: I press left or right to control my character to go left or right and it faces to the correct direction. However, when I let go of left key, the character faces to right automatically. If you take a look at my character component screen shot, I changed Yaw in Rotation Rate and Orient Rotation to Movement so my character doesnt run backward when I press left key. Before I did this, my character ran backward if I press left key. :( I just want my character walk/run/jump like the 3D side scroller template character does. D:

I've been following these tutorials and used in my game test. Just give you an idea what I did to my game.

items pick up: https://www.youtube.com/watch?v=2d-GDNWwn-4&list=WL∈dex=39

camera sway: https://www.youtube.com/watch?v=QPms7QwNdcg&list=WL∈dex=36

character basic movement and set up: https://www.youtube.com/watch?v=GWbd0Wowwnk&list=WL∈dex=40 (I follow this tutorial up till episode 13, then I follow the camera tutorial above)

Moving platform: https://www.youtube.com/watch?v=THCR9p5mIz0&list=WL∈dex=38

Please help me, I dont know what I did wrong D:

Product Version: Not Selected
Tags:
more ▼

asked Sep 11 '14 at 08:29 AM in Using UE4

avatar image

corakwan
6 5 7 9

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

2 answers: sort voted first

Hi corakwan,

Check the 'Planar Movement' settings under the Defaults section of your character. You should have it set to contrain on one of the axis's.

These are the default settings in the Side Scroller Template.

alt text

Post back and let me know if it works for you.

TJ

ah_movementss.jpg (21.9 kB)
more ▼

answered Sep 11 '14 at 03:41 PM

avatar image

TJ V ♦♦ STAFF
41.1k 1009 183 493

avatar image corakwan Sep 12 '14 at 12:43 PM

Cool!!! :D thanks soooo much!! it works!! :D

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

hi... I found an easy way to do that... see this : alt text

I hope could help... ya ali...

more ▼

answered Jan 14 '16 at 01:12 PM

avatar image

Narsis.110.313
1

(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