Friends need help with this script.
This script creates boxes at each vertex of the object pick and trasnfiere keyframes of each vertex to each box set. (eye, the script is not mine, I copy a page of examples)
I need help to make some changes, please:
1-select only the vertices I want to use and save it in an array.
2-create a copy of a selected object in each vertex that is in the array and transfer your keyframes.
rollout A1 "Animated Vertex"
(
button B3 "Pick Object"
on B3 pressed do
(
local boxSize = 1
local frameStepping = 2
-------------------------------------------------------
local obj = selection[1]
if isValidNode obj do
(
local tMesh = obj.mesh
local boxes = for i=1 to tMesh.numVerts collect box width:boxSize height:boxSize length:boxSize
with animate true for t=animationRange.start.frame to animationRange.end.frame by frameStepping do at time t for i=1 to tMesh.numVerts do boxes[i].pos=((getVert obj.mesh i)*obj.transform)
)
)
)
By THE · 2013-02-25
barigazy · 2013-09-02