Hi everybody,
So, I am a little confused with sprite3D.
First of all, I am using the last update of Away3D on the week.
So, I am trying to add a Sprite3D on the scene, but, hasn’t worked.
Here is the code:
var matHero:BitmapMaterial = new BitmapMaterial(new heroImage().bitmapData);
spriteTest = new Sprite3D(matHero, 128, 128);
//_view.scene.addChild(spriteTest);
_view.scene.addChild(spriteTest as ObjectContainer3D);
The material is a png file.
So, I would like to know what I am missing? Or if I will have to do more things?
Thanks for your attention, and have a nice day. =D