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.

Change material only when object has been clicked on using buttons.

Home Forums Puzzles Change material only when object has been clicked on using buttons.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35330
    maxmaker118
    Participant

    Hello,

    I am trying to make an object change material when clicking on a button but only when it is clicked on in the 3d viewer before it is able to change color by clicking on the button. ( I hope that was clear :scratch: )

    The only part I don’t know how to do is clicking on the object in the 3d viewer before allowing it to be changed by clicking on a button. And making this happen for multiple objects but using the same buttons to change them.

    #35366

    Hi,

    you can use a variable to track if the 3D object was clicked, and then check this variable to only allow button action if the 3d object was clicked.

    https://www.soft8soft.com/docs/manual/en/puzzles/Variables.html

    Chief 3D Verger | LinkedIn | Twitter

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