3ds Text Editor Site

-- Optional: Convert to Editable Poly for better control convertToPoly txt

-- Create text shape local txt = text() txt.text = edt_text.text txt.font = ddl_font.selected txt.size = spn_height.value txt.kerning = spn_kerning.value txt.leading = 0 3ds text editor

-- Function: Update existing text (recreate for simplicity) fn updateText = ( if currentTextNode != undefined then ( local oldPos = currentTextNode.pos local oldRot = currentTextNode.rotation local oldScale = currentTextNode.scale local newText = create3DText() if newText != undefined then ( newText.pos = oldPos newText.rotation = oldRot newText.scale = oldScale ) ) else create3DText() ) -- Optional: Convert to Editable Poly for better

-- Delete previous if exists if isValidNode currentTextNode then delete currentTextNode 3ds text editor

if chk_center.checked then ( centerPivot txt txt.pivot = [0,0,0] )

Discover more from Draggle's Anime Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading