angle = 180; // Put whatever angle in for 180
directional_velocity = 2; // Put whatever speed for 2
// Change angular_movement to whatever name and ang and speed to whatever names. Just make sure you // change them accordingly below
void angular_movement(double ang, double speed)
{
angle = ang;
directional_velocity = speed;
}
angular_movement(180,2);
void angular_movement(int ang, double speed)
{
angle = ang;
directional_velocity = speed;
}
angular_movement(5, 5);
angle=0;
directional_velocity=0;
Users browsing this forum: No registered users and 1 guest