Reading orientation from instances

Reading orientation from instances

coeuscreative
Enthusiast Enthusiast
241 Views
1 Reply
Message 1 of 2

Reading orientation from instances

coeuscreative
Enthusiast
Enthusiast

Apologies in advance, I haven't used bifrost, so I'm not even sure if this question will make sense.

 

Say I used bifrost to distribute instances of an object on a surface and I gave those instances a random rotation.

Could I then read the orientation of those instances individually and use that data for something else.

For example, could I get the vector of the orientation of each instance, calculate the dot product of the instance transform and world up vector, then use that calculation to drive the scale or the colour of the instances?

 

 

0 Likes
242 Views
1 Reply
Reply (1)
Message 2 of 2

sepu6
Advisor
Advisor

Yes, you can get the orientation of each instance and use that data to drive whatever you want or do dot products, cross, multiply, etc. All the data is there.