Author Topic: Mob height/scale/size  (Read 577 times)

Daitallica

  • Newbie
  • *
  • Posts: 37
    • View Profile
Mob height/scale/size
« on: September 21, 2018, 12:37:01 pm »
What's the difference between "CharacterWorldHeight" and "WorldScale"

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1114
    • View Profile
Re: Mob height/scale/size
« Reply #1 on: September 21, 2018, 12:38:47 pm »
The first one is used to define the offset (in world units) of the character healthbar and (other UI stuff we displaying over the character, for example - player nickname in case of PlayerCharacter).

The world scale is the world scale and affects both visual (skeleton) scale and 2D physical world character's appearance.

Daitallica

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: Mob height/scale/size
« Reply #2 on: September 22, 2018, 04:17:57 am »
So if I change the world scale, the skeleton scales as well?

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1114
    • View Profile
Re: Mob height/scale/size
« Reply #3 on: September 22, 2018, 12:33:05 pm »
Yes, the world scale is for both physics and visuals (skeleton). They should be scaled simultaneously anyway as otherwise physics will not match the visuals.

Daitallica

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: Mob height/scale/size
« Reply #4 on: September 22, 2018, 12:56:26 pm »
Yeah I got it sussed, there's a pic under servers on discord