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.

New project questions

Home Forums Puzzles New project questions

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #88171
    NaxosCG
    Customer

    Hello there,

    New project but i have to R&D to find if i can do it.
    The customer makes box-shaped furnitures, like ikea ones (see picture)

    Those are coming in several flavours : 1×2, 2×1, 2×2, 2×3 and 3×2 (squares)

    Let the end user change colors and number of doors (small squares ones, or double sized or even triple-sized ones, options…) i can do.

    BUT

    After choosing colors and doors and options, the new setted furniture has to be manipulated beside (or above) other ones, so the end user can create a full wall of square furnitures.

    So questions :
    1 – How do i let the user to move an object to be “snapped” beside an already placed furniture ? (beside or above if less than 3 meters for ex.)
    2 – How do i let the user to select onr specific placed furniture to let him change colors, doors, options ?

    Any help for knowing where to start would be nice… will i need Dictionaries or some dev-oriented stuff ?

    Regards.

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

    #88174
    xeon
    Customer

    It sounds like your dimensions are perfect for a grid. You just create a dictionary or list to keep track of where an item is. You then snap move objects based on the grid and use drag and drop if there is nothing in the grid spaces where the object is released. If there is something occupying the space where you want to drag the object to then it would just revert to last good position, ignoring the input.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

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