Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Object infront of a character

  • #1, by elec 9 years ago Zitieren
    Hey there,

    i'm pretty confused how it would be possible to place Objects in front of a character.

    Thanks for your Help.
  • #2, by sebastian 9 years ago Zitieren
    there is a value for object center in each objects properties. It indicates the y-coordinate in which a character should be drawed behind (char-y higher than object center) or above (char-y lower than object center). 

    Also you should keep in mind the order of your objects in the object list. it tells the engine which object get drawn above each other. 

    kind regards
    Sebastian 
  • #3, by F_Kal 9 years ago Zitieren
    For a start the "object center" property of the object should be set and placed lower on the screen compared to the character (lower, translates into closer to the camera) - if you wish to make it always stay on top of everything, you can put it as further down as possible (I think you are even allowed to have it below the scene image by a couple of pixels) 
    (see the first image)

    the tricky part (that I didn't realize at first), is that you also have to set correctly the order of object inside the list of the scene objects (see the second image)! The simplest way (given that you have defined the object center already), is to press the the yellow up-down-arrows icon as seen on the second image!