eclaw
12-07-2008, 05:52 PM
Hi guys,
for my current project it would facilitate my animation process a lot if I could solve my problem with MaxScript.
I have several objects of which each has to move to one point and back at a set speed and at random times. Like frog that sits on one side of the street and jumps to the other side and back if he's getting poked.
I thought the best way would be to check for a "poke", determine when the object is at the target position, so it wouldn't accept any more "pokes" until it's back at its original position. But then, how do I determine the current position of the object? this.pos does not work since it is a script controller. I'd be glad if someone can shed some light on this.
Thanks in advance!
Regards,
eclaw
for my current project it would facilitate my animation process a lot if I could solve my problem with MaxScript.
I have several objects of which each has to move to one point and back at a set speed and at random times. Like frog that sits on one side of the street and jumps to the other side and back if he's getting poked.
I thought the best way would be to check for a "poke", determine when the object is at the target position, so it wouldn't accept any more "pokes" until it's back at its original position. But then, how do I determine the current position of the object? this.pos does not work since it is a script controller. I'd be glad if someone can shed some light on this.
Thanks in advance!
Regards,
eclaw
