Object is above the player

Started by xboxown, Fri 23/06/2023 18:47:48

Previous topic - Next topic

xboxown

  Hello,

I have one little issue where the object (item) is above the player instead of underneath it. I saw the baseline as value which determine between behind or above. So, it started with 1 if I go below to 1 it cancels the baseline and become automatic instead of manual. If I go higher than 1 it goes even above the player. Any advice?

Crimson Wizard

Quote from: xboxown on Fri 23/06/2023 18:47:48So, it started with 1 if I go below to 1 it cancels the baseline and become automatic instead of manual. If I go higher than 1 it goes even above the player.

This means that the player's baseline is 1?

Were you setting player's baseline yourself?
How are the player and object located on screen (can you show a screenshot)?

Matti

#2
A baseline which is set to 0 is automated, meaning it's set at the bottom of the object. Any other value than 0 is the y-coordinate on the screen, so if you set it to 1, it will be at the top of the screen.

Edit: My guess is that you think that a positive or negative number moves the baseline up or down, which is not how it works.

xboxown

Quote from: Matti on Fri 23/06/2023 18:52:12A baseline which is set to 0 is automated, meaning it's set at the bottom of the object. Any other value than 0 is the y-coordinate on the screen, so if you set it to 1, it will be at the top of the screen.

Edit: My guess is that you think that a positive or negative number moves the baseline up or down, which is not how it works.

OOOH!!!

SMF spam blocked by CleanTalk