Announcement

Collapse
No announcement yet.

Top Down 2D Game - How to stop character falling?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Top Down 2D Game - How to stop character falling?

    Hi. I'm making a top down 2D game. I have it set up so things are viewed from the front perspective.

    Click image for larger version

Name:	falling.png
Views:	1
Size:	229.1 KB
ID:	1171712

    Like that. But when I press play, the sprite keeps falling.

    Click image for larger version

Name:	falling 2.png
Views:	1
Size:	237.7 KB
ID:	1171713

    How can I make it stay in place but still allow player control with the arrow keys?

    #2
    Is gravity scale set to 0 in your CharacterMovement component? Or you can change your world plane from XZ to XY.
    Last edited by Skypillows; 02-08-2016, 04:22 AM.

    Comment


      #3
      Change it so your game is viewed from the top perspective.
      ProBoon, Old-School FPS, Open Source & Tutorials
      Support Project Boon on Patreon

      On Steam Soon, Click Below

      Comment

      Working...
      X