Object infront of a character

  • #1, by elecThursday, 16. March 2017, 11:24 4 years ago
    Hey there,

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

    Thanks for your Help.

    Forum Fan

    109 Posts


  • #2, by sebastianThursday, 16. March 2017, 11:43 4 years ago
    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 

    Thread Captain

    2340 Posts

  • #3, by F_KalThursday, 16. March 2017, 11:49 4 years ago
    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!

    Forum Fan

    107 Posts

Write post