Character lifting off of the tiles and falling over.

ShreddieNut

  • Posts: 4
Hi. I have set up my character in stencyl.  I have created Idle and walking animations for it. When i walk, however, my character lifts off the ground a little and eventually falls over.

My collision boxes are wrapped tightly around my actors.

Photon

  • Posts: 2691
Make sure the actor is set to not rotate in the physics settings.
Do NOT PM me your questions, because I likely will not respond. If I have replied to your question on the forum, keep using that topic. Thanks!

PhilIrby

  • Posts: 545
Try this.  Enable debug drawing (menu -->Run-->Enable debug drawing).  Watch how your actors collision boxes move along the tiles.  Could be some  frames with uneven collision boxes causing the problem.


sdieters

  • Posts: 2068
@ashirydiamla,
thanks for sharing my channel =)

@ShreddieNut,
it could indeed be your collision box. did you scale your actor when you placed it in your scene? tis might cause some trouble since the collision box ist scaled with it.
My new profile is TheIndieStation.
When you see a recent post with this name, i'm probably using my phone. So dont mind any typo's =p

ShreddieNut

  • Posts: 4
Fixed it. Actor was too big. Simply resized all images and re added them to stencyl, then resized the collision boxes to fit the new images.