Away3D 4.1
Am I doing it wrong or is it a bug?
var spikeGeometry:Geometry = new CylinderGeometry(0.1, 2, 100, 4, 1, false, false, true, true);
var spikeMesh:Mesh = new Mesh(spikeGeometry, spikeMaterial);
MeshHelper.applyPosition(spikeMesh, 0, -50, 0);
TypeError: Error #1034: Type Coercion failed: cannot convert away3d.core.base::CompactSubGeometry@32cb821 to away3d.core.base.SubGeometry.
at away3d.tools.helpers::MeshHelper$/applyPosition() [MeshHelper.as:260]
subGeom = SubGeometry(geometries[i]);