M
Meve
Guest
Heya!
Back again with some questions coming from a not-so-skilled programmer:
So, basically I want a certain object (point_obj) to rotate another object (ship_blue_obj) if it is idle.
I have this code set up:
However, I don't know would fit my needs, maybe a quadratic function or something, or is there actually an existing function for this in gamemaker?
Back again with some questions coming from a not-so-skilled programmer:
So, basically I want a certain object (point_obj) to rotate another object (ship_blue_obj) if it is idle.
I have this code set up:
Code:
with (point_obj)
{
if collision_circle(ship_blue_obj.x,ship_blue_obj.y,10,point_obj,true,true)
= noone
{
move_towards_point( ship_blue_obj.x, ship_blue_obj.y, 4 );
}
else
{
//something to make it float around the ship
}
}