extension-spine icon indicating copy to clipboard operation
extension-spine copied to clipboard

Particle fx attached to spine bone doesn't rotate with the bone (DEF-3905)

Open britzl opened this issue 6 years ago • 1 comments
trafficstars

When a particle fx is attached to the bone of a spine model on a game object or in a gui scene the particle fx doesn't rotate with the spine model and the go/node it is attached to.

2019-04-11 10:30:31 (Johan.Beck-Noren) Aftersome investigation we found that this is caused by bones in Spine having a negative scale (in the attached scene the root bone has an x-scale of -1). This flips the spine scene, but causes some issue with rotations apparently. We don't allow setting a negative scale in the editor or in runtime, but apparently we support it coming from  Spine, and the spine scene is rendered flipped.

 

Needs a small design on the next steps. Options to consider are; should we consider it a bug and "fix" it? Would break current behaviour. Massage data in our build-pipeline, e.g. catch the negative scale and perform a flip ourselves while keeping the scale positive.

britzl avatar May 23 '19 10:05 britzl

Needs reverification. I believe the example project showcases scale+rotation for sprites that are attached to spine bones.

JCash avatar Mar 14 '22 16:03 JCash