Scale metaball by bounding box size?

   1308   0   1
User Avatar
Member
10 posts
Joined: Feb. 2017
Offline
Hi Guys,

For a tool i'm working on i need the radius of my metaball to be affected by the size of a painted region from a terrain, can anybody suggest how this would be done? It needs to change as the user paints but i'm getting stuck on the exact terminology of the code i would need to type into the region field on the metaball, this is what i currently have typed into the radius field on the metaball but it isn't working:

getpointbbox_size(/obj/leaf_pile/“bound1”, 0)

Any suggestions would be greatly appreciated!



Attachments:
Capture.PNG (452.0 KB)

  • Quick Links