How to set 2 materials for a 3D object during the Run time?

(2 posts) (2 voices)
  • Started 11 months ago by Jeeva3m
  • Latest reply from ArmarageX

Tags:

No tags yet.

  1. Jeeva3m

    veteran
    Joined: Jun '13
    Posts: 127

    Hi everybody,

    I want to set 2 different materials during run time as per my mouse movement not by clicking some button.

    Is it possible? How to make it?

    thanks
    jeeva

    Posted 11 months ago #
  2. ArmarageX

    member
    Joined: Jun '09
    Posts: 25

    With building blocks.. you could try

    Set Material BB x 2?

    Depending if you want to change material because it has nice shaders...
    Or you can simple just Set Texture BB to change the image...

    So you just need 1 material, and change the texture it contains...

    You could use Mouse waiter BB to detect mouse movement
    Or probably you can use Get Mouse Displacement BB.... to determine how much speed your mouse needs to move, before switching the texture.

    Hope that helps.

    Posted 11 months ago #

Reply

You must log in to post.