if newton would that for you the code would be probably the same..

maybe you need newtonbodyaddimpulse?