void catcher_animate()
{
//controls the speed of the propeller animation - bones
my._propellerspeed = speed_percentage * 100;
ent_bonerotate(my, anim_LeftTurbine, vector(my._propellerspeed, 0, 0));
ent_bonerotate(my, anim_RightTurbine, vector(my._propellerspeed, 0, 0));
//controls the turning angle of the submarine - vertex animation
// I need to handle animation turn here since I don't need a full turning
my._angleturn = 30*steering_percentage; //there are 30 animation frames in turning the submarine
if (my._angleturn < 0) { ent_animate(me, "TurnLeft", my._angleturn, ANM_CYCLE); } //turn left -value
else { ent_animate(me, "TurnRight", my._angleturn, ANM_CYCLE); } //turn right - value
}