im trying to create a wave like effect by creating a certain object in a line of another object
instance_create(x, y+irandom_range(-16, 16)*image_yscale, o_dmg);
so it constantly creates o_dmg on a line stretched from the top of the sprite to the bottom of the wave object. and the problem comes when i rotate the wave object. i tryed with len_dir but culd not figure how to use that function in this case.
overall what im after is to create objects in a line that changes its angle and the origin of that line is in the center.