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
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:
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.
Post back and let me know if it works for you.
answered Sep 11 '14 at 03:41 PM
TJ V ♦♦ STAFF
hi... I found an easy way to do that... see this :
I hope could help... ya ali...
answered Jan 14 '16 at 01:12 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here