/// @description
/// @param object1
/// @param object2

var _object1 = argument0;
var _object2 = argument1;

var _dir = point_direction(_object2.x, _object2.y, _object1.x, _object1.y);
var _impulse = _object1.bounceImpulse;
var _xImpulse = lengthdir_x(_impulse, _dir);
var _yImpulse = lengthdir_y(_impulse, _dir);
physics_apply_impulse(_object2.x, _object2.y, _xImpulse, _yImpulse);