shibbo / Fushigi

An editor for Super Mario Bros. Wonder.
MIT License
133 stars 30 forks source link

AreaSwitchLocal's and AreaPoisonSwampBox's green boxes are rendered as if the translation position is the bottom center instead of the middle. #73

Open Forwaken opened 11 months ago

Forwaken commented 11 months ago

AreaSwitchLocal and AreaPoisonSwampBox's (Probably other Area objects too) have their green boxes rendered from the bottom center instead of the middle like in game. This is probably code from CameraArea, though that is just a random guess.

Steps to reproduce the behavior:

  1. Place down an AreaSwitchLocal or an AreaPoisonSwampBox.
  2. See that it is half of it's height above where you place it.

AreaSwitchLocal's and AreaPoisonSwampBox's are positioned with the translation position being the middle of their objects in game, and as such, the green box should represent that.

In this screenshot, the bottom of the AreaSwitchLocal should be touching the bottom of the floor, as it is in game, but instead it is floating half of it's height above the ground. image

I am running Windows 11.

Hopefully this helps, I don't think this is related to the model rendering engine, so I am just making sure this is known and easy to find.