[RealityComposerPro] How do I work with Booleans?

I want the result of an "If greater" node to return a boolean, but the best I can seem to get is a float of 0.00, or 1.00. I then can't seem to convert these to a boolean so I can use the "AND" node.

Am I holding this wrong?

Answered by Vision Pro Engineer in 793628022

Booleans can only be created using a constant or primvar reader. Use math with comparison logic nodes to achieve your goal. EG instead of if a && b use if a+b == 2.

Accepted Answer

Booleans can only be created using a constant or primvar reader. Use math with comparison logic nodes to achieve your goal. EG instead of if a && b use if a+b == 2.

[RealityComposerPro] How do I work with Booleans?
 
 
Q