Playable Character Alignment Issues

  • #1, by armhansonFriday, 27. November 2015, 06:53 5 years ago
    I can't figure out why my character doesn't align properly. Before I had the alignment of character to some objects set, the playable character walked in front of on screen objects. I set the alignments and now it's all messed up. The character walks behind objects when his position should be in front of the object center. Thanks!

    Newbie

    20 Posts


  • #2, by esmeraldaFriday, 27. November 2015, 11:06 5 years ago
    Looks like the order of your scene objects needs fixing. The objects are drawn in the order in which they are listed in the scene tab.
    Try pressing the button with the two yellow arrows to arrange the objects in the correct order corresponding to the object center. That should do it.

    Great Poster

    389 Posts

  • #3, by armhansonFriday, 27. November 2015, 16:17 5 years ago
    Looks like the order of your scene objects needs fixing. The objects are drawn in the order in which they are listed in the scene tab.
    Try pressing the button with the two yellow arrows to arrange the objects in the correct order corresponding to the object center. That should do it.


    Thanks for the input, Esmeralda.

    I'm not really having trouble with objects overlapping incorrectly. My character used to walk in front of the objects. I designated a walk to position for objects. That's when the playable character began slipping behind onscreen objects before crossing the object center.

    I don't think object drawing order has anything to do with character alignment. Character alignment is decided by the animation center you select for your character and the position on the Y axis that the character walks to opposite any object center.

    My character appears behind the tree when his center has not crossed the object center.

    Thanks again for any further insight!

    Newbie

    20 Posts

  • #4, by afrlmeFriday, 27. November 2015, 17:30 5 years ago
    The drawing order is important in Visionaire Studio. Scene objects incorrectly ordered can generate strange side effects. To make sure & automatically organize your scene objects by their object center (z-index) values: click on the double yellow arrow icon on the scene tool bar.

    As for your characters, you have set the character / animation center near the feet, yes?

    P.S: there's an option in VS (don't remember if it's active by default) that automatically edits scene object center values whenever you drag the image / animation around that is associated with it.

    P.P.S: the object position you set should be the position you want the character to walk to before triggering any actions you have created in the actions list for said object. If you don't want a character to be able to interact with a scene object then do not create an object area (interaction polygon) for it & leave the object position & alignment with their default values.

    Imperator

    6842 Posts

  • #5, by armhansonSaturday, 28. November 2015, 22:48 5 years ago
    OK. I'll look into realigning some objects centers, if they automatically adjusted themselves.

    The character is centered at his feet in each direction of walking animation. But, for example, I have some trees as an interactive object that the player should be able to walk to and talk about and look at. The trees' object center is 573. When the playable character walks at 574 or more, I assume he should appear in front of the trees. But I had the character walk at about 680 and he appeared behind the trees. The character had to be moved to almost 700 before he appeared in front of the trees.

    My objects are lining up the way I want. It's only the playable character that isn't aligned properly with two of the scene objects in their appropriate centers. All the other objects on screen operate properly. It's only the trees and also a raccoon that are doing this.

    Newbie

    20 Posts

  • #6, by armhansonMonday, 30. November 2015, 00:00 5 years ago
    Ok. I figured it out. The two yellow arrows helped. Then just had to manually realign a few objects so they were overlapping the right way again. Thanks!

    Newbie

    20 Posts

Write post