Using physics in the editor