This discussion is archived
1 Reply Latest reply: Jul 19, 2010 12:27 PM by 843799 RSS

Problem with programming a public move method for an object

843799 Newbie
Currently Being Moderated

I`d like to program a method that moves an object of a TransformGroup from Position (float start) to position (float end).
The signature could look like this: +moveObject(pTG:TransformGroup,pStart:float,pEnd:float)
But the problem I have is that I don`t know how to move an object independent of an user action like pressing a key.
I`v already tried e.g. the PositionInterpolator or an own Behavior-Class, but the problem is that there isn`t a
suitable WakeupCriterion.

Has anybody an idea how to solve that problem?


Edited by: loejen on Jul 6, 2010 10:55 AM