Snapping Game Objects

If you are snapping objects, the Snap Mode combo box () specifies which part of the moving object snaps to the target object surface.

You can specify one of the following snap points:

 

Pressing CTRL while dragging constrains the Snap Mode point to the grid.

Pressing SHIFT while dragging constrains the object to the surface of the target object. If Rotate on Snap is turned on, the moved object also rotates so that its Up axis is parallel to the target object’s normal axis. This feature is unavailable for some proxy objects because they do not have surface normals.

The figure below shows how Rotate on Snap rotates objects when they are snapped to another object. In both cases, the vehicle object was snapped to a vertex on the model. Because Rotate on Snap was turned on, the LevelEditor rotated the object so that its Up axis was kept normal to the target object’s surface.

 

You can also specify how the snapping occurs:

 

For example, if you specify Bottom Center for Snap Mode and turn on Rotate On Snap, you can precisely stack an object on top of another by pressing SHIFT while dragging the object on the surface of the target object.