You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting the hitbox (mask) for an entity it seems that the built in function for setHitbox is doing some things incorrectly; at least this is what the results are showing. The results are specifically different when we are using origins other than 0 I believe.
The code below will demonstrate this visually. One box will be using Entity.setHitbox while the other box will use Entity.mask = new Hitbox() using the same values.
When setting the hitbox (mask) for an entity it seems that the built in function for setHitbox is doing some things incorrectly; at least this is what the results are showing. The results are specifically different when we are using origins other than 0 I believe.
The code below will demonstrate this visually. One box will be using
Entity.setHitbox
while the other box will useEntity.mask = new Hitbox()
using the same values.(make sure to display masks using the console)
Results:
The text was updated successfully, but these errors were encountered: