We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Snap to grid

Home Forums Puzzles Snap to grid

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #7610
    Atomfreak
    Customer

    Need some advice on how I could move an object in XY but with the snap to grid effect. :unsure:
    I am also trying to reproduce the same effect for a rotation of the Z axis at every 90 degree. I’m also looking for how I can apply an XY snap distance.
    Basically, the same effect as the snap to grid tool in 3DS max on the grid.
    I tried several combinations with set positions but without success.

    #7626

    Hi,

    Here is how you can implement snapped dragging with Puzzles:

    Attachments:
    You must be logged in to view attached files.

    Chief 3D Verger | LinkedIn | Twitter

    #7628

    Attaching the logic save file here too:

    Attachments:
    You must be logged in to view attached files.

    Chief 3D Verger | LinkedIn | Twitter

    #7642
    Atomfreak
    Customer

    Thank you very much Yuri. It helped me a lot.
    Also a big thanks for taking the time to include the .xml! :yahoo:

    #7646

    Sure, glad it worked for you. :good:

    Chief 3D Verger | LinkedIn | Twitter

    #67265
    NaxosCG
    Customer

    This, Yuri, was very usefull, thanks !!
    What if i need to change the “grid” space : make it 2 x 2 instead of 1 x 1 ?
    “round” option will always become integer, so “1×1” grid

    Thanks for help.

    "1+1=3... for large values of 1"

    #67266
    NaxosCG
    Customer

    Forget it, i’ve managed it, using the same puzzle parts used for rotation, but with “2” instead of “90”

    "1+1=3... for large values of 1"

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.