Hi!
Just a quick question, I hope you can help, I'm not fantastically literate in Maxscript and am struggling with deleting my object.
I have got my sphere to rotate etc up to a certain point and my faces to "burst" outwards, however I then need it to delete from my scene at something like frame 75.
Any chance anybody could give me a hand with what I need to add to the end.
Everything I've tried so far just seems to delete my object before its even appeared.
Thanks!
(
obj = sphere()
scale obj [0.5,0.5,0.5]
convertToPoly obj
for f in (obj.faces as bitarray) do polyop.detachFaces obj f
mapped fn moveFace f =
(
obj.selectedFaces = #{f}
fNormal = polyop.getFaceNormal obj f
fCenter = polyop.getFaceCenter obj f
move obj.selectedFaces (fCenter+(fNormal*100))
)
animate on at time 40 obj.pos = [80,0,60]
animate on at time 70 moveFace ((obj.faces as bitarray) as array)
animate on at time 70 rotate obj (angleaxis 360 [0,0,6])
)
barigazy · 2012-04-29