Hi
here, an example for a triangle (my post is too long, i can’t show you everything ) :
/*** triangles top ***/
texture = new TextureMaterial(Cast.bitmapTexture(Ttriangle));
texture.bothSides = true;
var poly:RegularPolygonGeometry = new RegularPolygonGeometry((size_sub_faces*0.867)/1.40,3);
//var poly:RegularPolygonGeometry = new RegularPolygonGeometry((69.820685)/1.40,3);
var triangle1:Mesh = new Mesh (poly, texture);
triangle1.x=340;//
triangle1.y=340;//
triangle1.z=-340;//
triangle1.rotationX=90;
triangle1.rotationY=125;
triangle1.rotationZ=45;
FR :
Pour le problème, si l’on regarde mon cube et celui de l’exemple (dans mon premier message) on remarque que les triangles disparaissent lorsque l’on clic sur l’une des faces, alors qu’ils devraient encore être visible. Je ne sait absolument pas comment règler ce soucis :/
Le code complet concernant la modélisation est join à ce message
EN :
For the problem, if you look at my cube and the example (in my first post) we note that triangles disappear when you click on one of the sides, while they should still be visible. I absolutely do not know how set this worries :/ The complete code for modelling is join to this message
Thank you for you’re response, and i really hope that some one can help me
(and one more time, sorry for my bad english, i write as well i can)
Cube.as (File Size: 13KB - Downloads: 257)