Forum rules - please read before posting.

Problem with motion animation

I'm just a beginner in 2D games, so there are some things I don't understand yet. I'm at the motion animation. Unfortunately, every time I start the game, this happens:

imgur.com/FQoSniW

Comments

  • Hi, that looks to me like the anchor points are not set to be the same for all sprites used. You know when you splice the sprites, assuming you used an image sprite sheet, there are anchor points to set. If some are set differently, I believe this is the result. The anchor points should be around the base of the sprite, such as where their feet are.
  • Welcome to the community, @Ziuum.

    If you select the NPC's root, you should see their position in the Scene window as they move around. The character's position should be where there feet are.

    If the sprite isn't set up like this, make sure the sprite child has a local position of (0,0,0), and - as @BecauseBecause points out - that the sprites have their pivot points around the feet.

    As a comparison, the 2D Demo's Brain2D prefab is set up in this way.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.