Jump to content

Scale metaball by bounding box size?


Hayden

Recommended Posts

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!

 

 

Capture.PNG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...