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
Our runtimes usually offer a way to define a bounds.
In spine-pixi-v8 the game object bounds work like this:
If some bounding box attachments are active, the bounds will follow them
Otherwise the bounds is dynamically calculated each frame
Solution 1 is rarely used. Moreover, if someone wants to use bounding box for other reasons, they will affect inevitably the game object bounds.
Solution 2 does not allow to easily size the game object. Moreover, it recalculates the bounds each frame.
Our runtimes usually offer to define a fixed bounds based on:
An animation and, optionally, a skin
An AABB rectangle
Once defined, the bounds does not change, unless the user redifine them.
We should allow users to define bounds as in other runtimes.
In spine-pixi-v7 the behaviour is similar, but the implementation is different. Additionaly, the bounds does not take into consideration bounding box attachments.
The text was updated successfully, but these errors were encountered:
davidetan
changed the title
[ts][pixi-v8] Provide a way to define a fixed bounds
[ts][pixi-v7][pixi-v8] Provide a way to define a fixed bounds
Jan 15, 2025
Our runtimes usually offer a way to define a bounds.
In
spine-pixi-v8
the game object bounds work like this:Solution 1 is rarely used. Moreover, if someone wants to use bounding box for other reasons, they will affect inevitably the game object bounds.
Solution 2 does not allow to easily size the game object. Moreover, it recalculates the bounds each frame.
Our runtimes usually offer to define a fixed bounds based on:
Once defined, the bounds does not change, unless the user redifine them.
We should allow users to define bounds as in other runtimes.
In
spine-pixi-v7
the behaviour is similar, but the implementation is different. Additionaly, the bounds does not take into consideration bounding box attachments.The text was updated successfully, but these errors were encountered: