The problem is both c and step are 0. If you try to divide anything by 0 it will return the value “undefined”. replacing d = int (c/step) with d = …
Update: Fixed the infinate number bug. It works how its meant to. Also added a progress bar. I put If statements to check for zeros which means it…
Feel free to have a look at the source. Please remember this is copyright, If you modify it for your personal use please post back here so others c…
It all clicked with me today. Of course it would return an infinate number. Not sure whether to test for intermediate results of 0 and replace with so…
Thanks Bobo I’ll try that.
I’m also trying to create a 1st person camera set up in max script. I am very new to maxscript. I had an idea that I could use max’s motion capture c…