Problem Description:
I’m unable to snap newly created cube to grid by pressing Ctrl + End. Snap to Grid is enabled and cube is selected. After pressing the keys and checking the Edit/Undo, it states Undo Snap Origin to Grid, but the object in editor shows nothing different.
Attachment List: Picture that shows the Undo and the editor viewport.
Moving the cube around and pressing the keys doesn’t do anything at all, but it does show what can be seen when I check the Edit/Undo list as shown in the attached picture.
The Origin of the Mesh of course would be the Center Of Mesh, which was not what I was attempting to align.
Maybe I’m misunderstanding something, but if you’ve got snap-to-grid turned on in the viewport, dragging the object around is going to snap it to the grid anyway.
Are you dragging it around with snapping turned off?
Ctrl + End is not a toggle for snapping but will snap the object’s origin to the closest grid point when used. If you already have grid snapping turned on (which it looks like you do, judging from the screenshot you took) it will appear as nothing has happened since it’s already aligned to the grid.
Also, when you’re snapping to the grid you’re actually snapping to the red dots and not necessarily to the grid lines.
Hello Andrew and Maximus, you’ll notice in the video tutorial after you create a cube exactly as he shows, he tells you to press Ctrl + End to align the cube to the grid, basically along the bounding lines (yellow lines) of the brush shown, when you look at the video you will notice the cube in fact moves. When I do it, the cube doesn’t move, no matter what position of the cube along any axis, and it creates an Undo, which of course clicking the Undo does nothing either. Snapping is turned on and I know it’s not a toggle. Of course pressing End Key by itself will drop a mesh to the floor I am trying to create. It’s not the biggest of issues, and it doesn’t stop me from positioning things manually and adjusting the Position Grid Snap Value, the problem would be that if someone that’s not experienced with this comes across this as well in the first set of tutorials, might be a bit stuck trying to figure it out. Were the Hotkey’s for it changed?
I’ve also ruled out the keyboard keys sticking because the keys aren’t stuck and I can type normally lol.
Well the reason he moved was after he resized the mesh, he adjusted the grid from 10 to 50. Placing a mesh on a 10 unit grid will not always align to a 50 unit grid (hence why he used Ctrl + End). It is possible though to have placed a mesh on a 10 unit grid and still have it on the grid when switched over to a 50 unit grid. It sounds like this was the case for you.
If you would like to be sure this command works for you, click on the orange grid button in the upper right side of your viewport to disable grid snapping. Move you mesh around and then use the Ctrl + End command again.
Hello Max B., Did what you said and looks like it’s working now, the cube moves and snaps to a grid line at a time or to both if you place cube close to the edges almost evenly, thank you! Also, it works with or without grid snapping turned on.
Yep, looks like it’s doing something similar on mine too, after updating to Unreal Engine 4.6 I zoomed in and noticed the BSP brushes I used for cutting doorway openings was raised along the Z-Axis by exactly 0.5, I went ahead and added the 0.5 for the Snap Sizes, the auto-snapping to grid didn’t work, and used the 0.5 to manually re-position and align it properly back to floor level, and the dropping to floor stopped working for new BSP brush geometry.
i was trying to figure this out and it looks like you need to have grid snapping turned off and press just end not cntrl… on my keyboard, end is a blue secondary keystroke so i need to also press the blue fn button to use the end key. so by pressing end my actor moves to the ground. however it is a few “inches” above and not planted firmly on the ground. if i zoom down to the bottom i can see it hovering above the floor a little. is that normal?
Just had the same problem. I know it’s an old thread, but since it’s the first in google results, I’ll leave here solution for future developers. Snapping works for origin (usually center) of the object, not its borders, so if your object has an odd size (for example 125, not 124), it will divide this, leaving 0.5 off-the-grid for both sides. So, either make the size even, or change origin to the corner. Eeasiest way to do so - select object and then right click to one of the corners. It will snap it to the grid where it should be.