, Sr. Member
Hi Pro - I did a small experiment with that using a cylinder recently.
// keep a copy of original models data
var refVertices:Vector.<Number>;
refVertices = SubGeometry(cylinder_1.geometry.subGeometries[0]).vertexData;
// get the normals data for your object
var vertNormals:Vector.<Number> = SubGeometry(cylinder_1.geometry.subGeometries[0]).vertexNormalData;
// make some variables
var distance:Number = 10;
var translateX:Number;
var translateY:Number;
var translateZ:Number;
// set em up
translateX = vertNormals[x] * distance;
translateY = vertNormals[y] * distance;
translateZ = vertNormals[z] * distance;
refVertices[x] += translateX;
refVertices[y] += translateY;
refVertices[z] += translateZ;
// update the vertices
SubGeometry(cylinder_1.geometry.subGeometries[0]).updateVertexData(refVertices);