so i want to create an object with speed relative to the creating object whilst enforcing its own speed(not sure if enforcing the right word XP),
what i have is a player_obj with a turret_obj attached,
your moving around with W,A,S,D and the turret_obj is facing the cursor for aiming,
im having trouble with the missile speeds, when a missile is fired it gradually speeds up to max speed, i want the missile to start at player_obj directional speed and the turret_obj image_angle, but i haven't got the no how, the missile is created by the turret.
im creating the missile with.....
with (instance_create(x+lengthdir_x(10,image_angle+85),
y+lengthdir_y(10,image_angle+85),Missile_obj))
{direction=other.image_angle;
image_angle=direction;
speed=player_obj.speed+2;
origTurret=other.id}help would be nice.
Thanks XD
Edited by KevinBacon, 08 May 2012 - 09:13 PM.











