Repository: godotengine/godot
File: servers/extensions/physics_server_3d_extension.cpp (C++)

Code before:

	GDVIRTUAL_BIND(_soft_body_set_linear_stiffness, "body", "linear_stiffness");
	GDVIRTUAL_BIND(_soft_body_get_linear_stiffness, "body");

	GDVIRTUAL_BIND(_soft_body_set_pressure_coefficient, "body", "pressure_coefficient");
	GDVIRTUAL_BIND(_soft_body_get_pressure_coefficient, "body");

	GDVIRTUAL_BIND(_soft_body_set_damping_coefficient, "body", "damping_coefficient");
	GDVIRTUAL_BIND(_soft_body_get_damping_coefficient, "body");

	GDVIRTUAL_BIND(_soft_body_set_drag_coefficient, "body", "drag_coefficient");
	GDVIRTUAL_BIND(_soft_body_get_drag_coefficient, "body");

	GDVIRTUAL_BIND(_soft_body_set_mesh, "body", "mesh");

	GDVIRTUAL_BIND(_soft_body_get_bounds, "body");

	GDVIRTUAL_BIND(_soft_body_move_point, "body", "point_index", "global_position");
	GDVIRTUAL_BIND(_soft_body_get_point_global_position, "body", "point_index");

	GDVIRTUAL_BIND(_soft_body_remove_all_pinned_points, "body");
	GDVIRTUAL_BIND(_soft_body_pin_point, "body", "point_index", "pin");
	GDVIRTUAL_BIND(_soft_body_is_point_pinned, "body", "point_index");

	GDVIRTUAL_BIND(_soft_body_apply_point_impulse, "body", "impulse", "point_index");
	GDVIRTUAL_BIND(_soft_body_apply_point_force, "body", "force", "point_index");
	GDVIRTUAL_BIND(_soft_body_apply_central_impulse, "body", "impulse");
	GDVIRTUAL_BIND(_soft_body_apply_central_force, "body", "force");

	/* JOINT API */

	GDVIRTUAL_BIND(_joint_create);
	GDVIRTUAL_BIND(_joint_clear, "joint");

	GDVIRTUAL_BIND(_joint_make_pin, "joint", "body_A", "local_A", "body_B", "local_B");

	GDVIRTUAL_BIND(_pin_joint_set_param, "joint", "param", "value");
	GDVIRTUAL_BIND(_pin_joint_get_param, "joint", "param");

	GDVIRTUAL_BIND(_pin_joint_set_local_a, "joint", "local_A");
	GDVIRTUAL_BIND(_pin_joint_get_local_a, "joint");

	GDVIRTUAL_BIND(_pin_joint_set_local_b, "joint", "local_B");
	GDVIRTUAL_BIND(_pin_joint_get_local_b, "joint");

	GDVIRTUAL_BIND(_joint_make_hinge, "joint", "body_A", "hinge_A", "body_B", "hinge_B");
	GDVIRTUAL_BIND(_joint_make_hinge_simple, "joint", "body_A", "pivot_A", "axis_A", "body_B", "pivot_B", "axis_B");

	GDVIRTUAL_BIND(_hinge_joint_set_param, "joint", "param", "value");
	GDVIRTUAL_BIND(_hinge_joint_get_param, "joint", "param");


Review comment (suggestion):
```suggestion
	GDVIRTUAL_BIND(_soft_body_apply_point_impulse, "body", "point_index", "impulse");
	GDVIRTUAL_BIND(_soft_body_apply_point_force, "body", "point_index", "force");
```

Code after:

	GDVIRTUAL_BIND(_soft_body_set_linear_stiffness, "body", "linear_stiffness");
	GDVIRTUAL_BIND(_soft_body_get_linear_stiffness, "body");

	GDVIRTUAL_BIND(_soft_body_set_pressure_coefficient, "body", "pressure_coefficient");
	GDVIRTUAL_BIND(_soft_body_get_pressure_coefficient, "body");

	GDVIRTUAL_BIND(_soft_body_set_damping_coefficient, "body", "damping_coefficient");
	GDVIRTUAL_BIND(_soft_body_get_damping_coefficient, "body");

	GDVIRTUAL_BIND(_soft_body_set_drag_coefficient, "body", "drag_coefficient");
	GDVIRTUAL_BIND(_soft_body_get_drag_coefficient, "body");

	GDVIRTUAL_BIND(_soft_body_set_mesh, "body", "mesh");

	GDVIRTUAL_BIND(_soft_body_get_bounds, "body");

	GDVIRTUAL_BIND(_soft_body_move_point, "body", "point_index", "global_position");
	GDVIRTUAL_BIND(_soft_body_get_point_global_position, "body", "point_index");

	GDVIRTUAL_BIND(_soft_body_remove_all_pinned_points, "body");
	GDVIRTUAL_BIND(_soft_body_pin_point, "body", "point_index", "pin");
	GDVIRTUAL_BIND(_soft_body_is_point_pinned, "body", "point_index");

	GDVIRTUAL_BIND(_soft_body_apply_point_impulse, "body", "point_index", "impulse");
	GDVIRTUAL_BIND(_soft_body_apply_point_force, "body", "point_index", "force");
	GDVIRTUAL_BIND(_soft_body_apply_central_impulse, "body", "impulse");
	GDVIRTUAL_BIND(_soft_body_apply_central_force, "body", "force");

	/* JOINT API */

	GDVIRTUAL_BIND(_joint_create);
	GDVIRTUAL_BIND(_joint_clear, "joint");

	GDVIRTUAL_BIND(_joint_make_pin, "joint", "body_A", "local_A", "body_B", "local_B");

	GDVIRTUAL_BIND(_pin_joint_set_param, "joint", "param", "value");
	GDVIRTUAL_BIND(_pin_joint_get_param, "joint", "param");

	GDVIRTUAL_BIND(_pin_joint_set_local_a, "joint", "local_A");
	GDVIRTUAL_BIND(_pin_joint_get_local_a, "joint");

	GDVIRTUAL_BIND(_pin_joint_set_local_b, "joint", "local_B");
	GDVIRTUAL_BIND(_pin_joint_get_local_b, "joint");

	GDVIRTUAL_BIND(_joint_make_hinge, "joint", "body_A", "hinge_A", "body_B", "hinge_B");
	GDVIRTUAL_BIND(_joint_make_hinge_simple, "joint", "body_A", "pivot_A", "axis_A", "body_B", "pivot_B", "axis_B");

	GDVIRTUAL_BIND(_hinge_joint_set_param, "joint", "param", "value");
	GDVIRTUAL_BIND(_hinge_joint_get_param, "joint", "param");