Place an object on a grid with rotation

Ignoring the size for now, just taking the location of the component, and the rotation of the actor does the trick

grid