I got it to work and it turns out it was saving ok!
wow, that was quick! thanks man. Cheers Dan
codeTxt = “” for x = 1 to 5 do ( codeTxt += “a” + ( i as string) + ” = undefined ” ) execute codeTxt
Many thanks that worked, and thanks for the explanation. Originaly I did try defining the callback within an on rollout open block of code. But it did…
Thanks Denis that did the trick.
Maybe I was unclear, the attachments I added to my previous post are a couple max scenes of real world setups for ground detection. Is that not what y…
Check out the attachment for examples of using intersect ray in script controllers. Also if you have time here is a demo video of a max script I wrote…
I think some of the speed difference comes from the lattice modifier being driven by a C++ dll which will always run quicker than a script controller …
Looks interesting, what does it do paul?
thePos = yourObj.pos newPos = [thePos[1] + 10 , thePos[2] ,thePos[3]] –or maybe newPos = yourObj.pos + [10,0,0]