I’m trying to have Meshes rendered exactly like box handle adornments, basically handled as if they were a GUI rendered in the 3d world.
-
What is the issue? (Keep it simple and clear - Include screenshots/videos/GIFs if possible)
There is no Instance that exists that can make a substitute for it. -
What solutions have you tried so far? (Have you searched for solutions through the Roblox Wiki yet?)
I’ve tried using tons of box handle adornments to make up the shape of the mesh, but that’s very expensive.
further details,
My idea of this Instance is something like this,
A BoxHandleAdornment but we can set the handle to any MeshId we want, and maybe even TextureId.
local MeshHandleAdornment={
–Properties
MeshId=String,
TextureId=String,
Scale=Vector3,
SizeRelativeOffset=Vector3,
Parent=Instance or nil,
Adornee=Basepart or nil,
Transparency=Number,
AlwaysOnTop=Boolean,
Color3=Color3,
AdornCullingMode=EnumItem or String,
ClassName=String,
Name=String,
Visible=Boolean,
ZIndex=Number,
–RbxScriptSignals
AttributeChanged=Instance.AttributeChanged,
DescendantRemoving=Instance.DescendantRemoving,
Destroying=Instance.Destroying,
ChildRemoved=Instance.ChildRemoved,
Changed=Instance.Changed,
GetAttributeChangedSignal=Instance.GetAttributeChangedSignal,
GetPropertyChangedSignal=Instance.GetPropertyChangedSignal,
AncestryChanged=Instance.AncestryChanged,
DescendantAdded=Instance.DescendantAdded,
MouseButton1Down=BaseGui.MouseButton1Down,
MouseButton1Up=BaseGui.MouseButton1Up,
MouseEnter=BaseGui.MouseEnter,
MouseLeave=BaseGui.MouseLeave,
–Functions
FindFirstChild=Instance.FindFirstChild,
Destroy=Instance.Destroy,
FindFirstChildWhichIsA=Instance.FindFirstChildWhichIsA,
WaitForChild=Instance.WaitForChild,
Clone=Instance.Clone,
GetDescendants=Instance.GetDescendants,
IsDescendantOf=Instance.IsDescendantOf,
GetChildren=Instance.GetChildren,
FindFirstAncestorWhichIsA=Instance.FindFirstAncestorWhichIsA,
GetAttribute=Instance.GetAttribute,
SetAttribute=Instance.SetAttribute,
ClearAllChildren=Instance.ClearAllChildren,
IsA=Instance.IsA,
FindFirstChildOfClass=Instance.FindFirstChildOfClass,
FindFirstAncestor=Instance.FindFirstAncestor,
GetFullName=Instance.GetFullName,
GetAttributes=Instance.GetAttributes,
isA=Instance.isA,
Remove=Instance.Remove,
GetActor=Instance.GetActor,
IsAncestorOf=Instance.IsAncestorOf,
FindFirstDescendant=Instance.FindFirstDescendant,
FindFirstAncestorOfClass=Instance.FindFirstAncestorOfClass,
}
setmetatable(MeshHandleAdornment,{__metatable=“The metatable is locked”})