Problem with random scale of cubes using attrandomize

   1096   2   0
User Avatar
Member
203 posts
Joined: May 2021
Offline
I copied multiple cubes in a point cloud and used a pscale attribute in attrandomize but they aren't getting affected at all. Why is that happening?

Edited by proceduralist - June 9, 2023 10:27:06

Attachments:
Pscale attributes question.hip (176.4 KB)

User Avatar
Member
146 posts
Joined: June 2016
Offline
Pscale is a float attribute, looks like you are trying to set the scale in multiple axis, so thats why it is not working.

To set scale in multiple axis you will need to set "scale"(vector) attribute instead of "pscale"(float)

Hope that helps.



ps: you can just delete the attributecreate and attributepromote nodes in your scene.
Edited by Mohanpugaz - June 9, 2023 10:40:48

Attachments:
Screenshot 2023-06-09 200626.png (644.0 KB)
Pscale attributes question fixed.hiplc (170.1 KB)

Mohan Pugaz
movfx
https://www.instagram.com/movfx/ [www.instagram.com]
https://www.youtube.com/channel/@_movfx
User Avatar
Member
203 posts
Joined: May 2021
Offline
Fantastic! Haven't downloaded your script yet. The screenshot did the trick! Just removed one alphabet! p from pscale in attribrandomize and boom! Problem destroyed!

Thanks a ton ser! Really appreciate!
  • Quick Links