Merging Away3D primitives doesn’t work.
Is there any way I can merge two primitive shapes?
Using the Merge class with Away3D primitives.Software: Away3D 4.x |
||
empend, Member
Posted: 18 November 2011 12:04 AM Total Posts: 77 |
||
Fabrice Closier, Administrator
Posted: 18 November 2011 10:02 AM Total Posts: 1265 [ # 1 ] Are you using the latest git repo? There were issues in the past with Primitive merging because these have buffers with fixed sizes. This is resolved in latest builds. If you are, please provide some code so i can reproduce. I have on my machine code merging spheres and cubes running with no issues. |
||
empend, Member
Posted: 18 November 2011 08:39 PM Total Posts: 77 [ # 2 ] I am using the latest, and even re-downloaded it to make sure. I’d send you the ZIP with all the code if I knew your email, but for now here’s the merging snippet…
var elevation:int=thisTile[TILE_ELEVATION]; I hope you can help! |