#Merging two objects into a bigger one.

1 messages · Page 1 of 1 (latest)

amber hinge
#

Hi peeps. I want to make two spawned objects of the same type turn into one bigger object if they touch. i believe the best way to go about it would be to find the potition/middle of where they touched and simply moving one of the obejcts there, scaling it and removing the other one. The logic is very simple, but I don't know which methods could be used since I'm too new to it all.

I have checked online, and I cannot find anything relevant because the internet insists I'm trying to merge meshes into an object in the editor. Not what I'm trying to do.

pulsar tree
tired wedge
#

use attributes on each block, like BlockTier to set its tier and when doing part.touched:connect(function(otherpart) add a if condition checking if the part:getAttribute("BlockTier")==otherpart:getAttribute("BlockTier")

#

pls overlook the typos, i did this in a haste