SirCaliber
Member
Here's the code i have:
The problem is is that the closer the objects are to the explosion, the less they get pushed back. How would i invert this?
Basically i want the closer objects to get pushed back further than the objects that are further away.
Code:
if(instance_exists(oExplosion)){
motion_add(image_angle,-distance_to_point(oExplosion.x,oExplosion.y))
}
Basically i want the closer objects to get pushed back further than the objects that are further away.