I’m new in BabylonJS community so first i want to say hello all, nice to e-meet you
I’m started playing with BabylonJS couple days ago as my company is gonna switch from 2d games to mix 2d+3d and we would like to use BabylonJS in our future projects:) However, as Babylon is focued on 3d i faced a problem how to display sprite animations combined with 3d elements.
So let’s say i have box, i move this box from point A to B and once movement is done i would like to display animation on once of the face of box. What’s the best way to achive it?
I think that would be nice to have such possiblity in material, for example:
cont material = new StandardMaterial(“animatedMat”, scene);
const textures = [
material.animatedSprite = new AnimatedSprite(textures)
myBox.material = material;
Or maybe there is other way/solution how to achive it in 3d? I’m fairly new in 3d concepts(worked only with 2d before) so if i misunderstand something do not hesitate to tell me