Hi all,
I'm trying to apply image scaling to a new figure and not have it snap to grid. However, I've tried setting snap_to_grid=false, and it doesn't work, whether I add it to the SpawnObject call or the SetCustomObject call (where I apply the name). For image scaling (as in, not the base, just the image, I haven't found any parameter call for this. Does any one have any tips for this?
This is the current code (it actives on button click):
local toolPos = self.getPosition()
local obj = spawnObject({type="Figurine_Custom",
position={toolPos.x,toolPos.y+1,toolPos.z},
rotation = {0, 0, 0},
scale = {1, 1, 1}
})
obj.setName("Fig Name)")
obj.setCustomObject({image="URL"})