Any regulars on this forum will probably be aware I’ve been working on getting stuff animated and moving about. The trouble I’m having now is that I can’t work out how much to transform the animated TransformGroup by to ensure standard speed. My little dude walks about quite happily - an AWTEvent starts the movement, which runs every frame while the key is down, a morphbehaviour animates the figure and the transformGroup is transformed slightly every frame. The trouble comes with either changing the environment complexity or running the code on a different machine which seems to make the movement stupidly slow (the morph animation keeps going at about the same rate, I’m guessing cos it is based on an Alpha) - I’m assuming that the FPS is falling so that I am getting fewer Transforms per second.
Does anyone know a good way to calculate how large a step needs to be depending on the framerate, or a good alternative way of moving the character about that doesn’t depend on the framerate?