• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.

VaM 1.x Trigger to modify alpha

Threads regarding the original VaM 1.x

pingox

Member
Joined
Mar 18, 2024
Messages
42
Reactions
4
I am conducting some experiments to use with passthrough and cannot find the option to change the alpha of atoms (such as a chair, for example).

During the scene, I want there to be a button or slider to hide or show a chair, but I want to keep the physical properties of the chair even if it is not visible, so I think setting the alpha to zero is the option, but I want to do it through a trigger. Is this possible?

I could do it through atomControl / toggleOn, but then I lose the collision.

Thank you.
 
Solution
Thanks! Don't work for my kind of atom.
This chair must be another type of atom. Mine in this case is a simple cube, and I just noticed that I don't have that ‘material -> hide’ option.

I also tried setting the atom's alpha to zero using the timeline, but it conflicts with the other animations I have in the scene. I don't know if it's possible to create a new instance of the timeline, but I don't know how to do it.
I do see the hideMaterial property for a simple cube and I can manipulate it with a toggle as described above.

1768135599090.png


In case of the simple shapes, you can also access the alpha value:

1768135656275.png
Hi, you can do this with a UIToggle by manipulating the hideMaterial property of each material of the object. In the example of an AptChair (2 materials for the main seat and the legs) it looks like this:

1768132360913.png


1768132383570.png
1768132418112.png
 
Upvote 0
Thanks! Don't work for my kind of atom.
This chair must be another type of atom. Mine in this case is a simple cube, and I just noticed that I don't have that ‘material -> hide’ option.

I also tried setting the atom's alpha to zero using the timeline, but it conflicts with the other animations I have in the scene. I don't know if it's possible to create a new instance of the timeline, but I don't know how to do it.
 
Upvote 0
Thanks! Don't work for my kind of atom.
This chair must be another type of atom. Mine in this case is a simple cube, and I just noticed that I don't have that ‘material -> hide’ option.

I also tried setting the atom's alpha to zero using the timeline, but it conflicts with the other animations I have in the scene. I don't know if it's possible to create a new instance of the timeline, but I don't know how to do it.
I do see the hideMaterial property for a simple cube and I can manipulate it with a toggle as described above.

1768135599090.png


In case of the simple shapes, you can also access the alpha value:

1768135656275.png
 
Upvote 0
Solution
Thank you, that's right.
(I got stuck looking for the ‘Material’ option on the receiver and didn't even open ‘cubeMat’, which is the same thing).

I didn't use C.U.A. (chair) because they didn't have the alpha option to change manually during passthrough, and I was using basic cubes. But now I see there's a way around it.

Thank you.
 
Upvote 0
Back
Top Bottom