Forum rules - please read before posting.

Wide Pivoting/turning

edited June 2017 in Technical Q&A
Hey there, 
Didn't want to post right away but still can't figure out the issue. I've rigged my 2D sprites using the tutorials and Editor wizards etc and though I've tried  a few things my character still seems to do this really wide pivoting when it turns. Turned off 'turn before walking' just to see if it made any difference but results were the same.

All the sprites are the same size, with my character in the centre as much as possible with the pivot point set and the bottom in the same place on each [as shown in the image]

Not sure what I've set up wrong.

Appreciate any help Chris or anyone else could provide, thanks.

image


[Example Video]

Comments

  • Welcome to the community, @dub9t5.

    You'll have to show more shots of the character's Inspector and children to be certain, but it looks as though the character's sprite child is either not assigned in the Player Inspector, or doesn't have a local position of (0,0,0).

    Try resetting the position of the sprite child - it's also probably best to disable the Animator until it's resolved, so that animations don't contribute to the problem / make it harder to see the issue.
  • Hey Chris, thank you for your help (and Adventure Creator itself)

    I scrapped the whole thing and rebuilt it from scratch and now it's working smoothly, not sure why but glad it's fine now.

    I think it was something to do with Animator, I think I had an animator/controller script on both the prefab and sprite.

    Thanks again.
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.