Sprite Animation reversed? / Billboarding off?


is there any way to use Sprite.playAnimation(from, to, loop, delay) to play the animation reversed?
If I am using a lower “from” as the “to” it is working correctly and playing foward. But if the “from” is higher than “to” it is not playing at all and completely invisible. Is this a bug?

And is there a way to use sprites without Billboarding?

Definitely a bug! I’ll have that fixed for next nightly

Sprites are 2d textures so they can only be billboards

Okay thanks!

Is there any other way to use animated textures on a mesh plane? We have sprite sheets and want to display them on fixed positions with fixed rotation.

You may want to look at GUI then
You can project GUI onto a plane: https://www.babylonjs-playground.com/#ZI9AK7#1

and GUI support sprite animations: https://www.babylonjs-playground.com/#K60448#10

Thanks for your tip, we will look into this.

1 Like