Set attribute on fractured geometry and read it after
1191 4 0- asdasdasdasdasd
- Member
- 3 posts
- Joined: 1月 2021
- Offline
So i do rbdmaterialfracture on geometry after i need to set some attribute (to random value but which will be constant for this fracture piece) and read it after in rbdconfigure. how can i do it? preferably in hscript. i want to use it to control the activate state of the piece, so every has a different offset. seems like a simple task but i couldn't find the right solution so far.
- npetit
- スタッフ
- 353 posts
- Joined: 2月 2008
- Offline
- asdasdasdasdasd
- Member
- 3 posts
- Joined: 1月 2021
- Offline
Thank you a lot! Now i understand the concept better, but i still don't know how to read the attribute (kind of ashamed...)
here is my test project i rebuilt the same network with extra stuff which i need.
the problem is in rbdconfigure bullet data "active" it seems to return 0 (or NaN idk) all the time, expression is $F > @attrib
what is the correct way to access this attribute?
here is my test project i rebuilt the same network with extra stuff which i need.
the problem is in rbdconfigure bullet data "active" it seems to return 0 (or NaN idk) all the time, expression is $F > @attrib
what is the correct way to access this attribute?
- npetit
- スタッフ
- 353 posts
- Joined: 2月 2008
- Offline
- asdasdasdasdasd
- Member
- 3 posts
- Joined: 1月 2021
- Offline
-
- Quick Links