This is a modified version of torque 3d