Move cursor to center of some selected geometry/faces I am making a gun. What I'd like the to do is this


Select all the faces that make up the handle
Move the 3D cursor to the center of the selection (or center of mass)
Set the origin of the object at the location of the 3D cursor


I can do 1 and 3 but I'm stuck at 2.

Thanks!
In Edit Mode

Select the faces.

Press ShiftS and select cursor to selected, that will put the cursor at the center of the selected faces.

Switch to Object mode (Tab)

Select Object>Transform>Origin to 3D cursor (or CtrlShiftAltC).



For 2.8 there is no keyboard shortcut. Use the menu Object > Set Origin.