Interpolate question
I have an actor that interpolates when a button is pressed, game.pressed=1 so for the duration I put game.pressed. I want it to interpolate as long as the button is pressed, and stop when released.
The problem is that it interpolates for a few seconds then stops, no matter how long I keep the button pressed. What is the proper way to interpolate an actor only while a button is pressed and no longer or shorter?
Thanks.
The problem is that it interpolates for a few seconds then stops, no matter how long I keep the button pressed. What is the proper way to interpolate an actor only while a button is pressed and no longer or shorter?
Thanks.
Comments