Previously posted in a support category: Weird ZIndex & DisplayOrder behavior w/ViewportFrames.
As shown in this video, I’ve made a pair fancy handles for my WIP plugins:
However, as you can see, the handles are underlying the Bone BasePart when they’re supposed to show on top of it. I figured ZIndex, AlwaysOnTop and DisplayOrder makes no difference as it seems like the HandleAdornment class simply ignores their parent ViewportFrame’s ZIndex
and their ScreenGui’s DisplayOrder
no matter what they’re set to.
Information to reproduce the issue:
Explorer Setup
Overlay ScreenGui Properties
Underlay ScreenGui Properties
Repro file:
RigEditorHandleReproFile.rbxl (49.4 KB) (you might have to set the ViewportFrames’ CurrentCamera on open)
Fix attempts:
- Parent both ViewportFrames to the same ScreenGui.
- Parent both the PositionPart & Bone to the same ViewportFrame.
- Played around with ZIndex and DisplayOrder in every way possible.
- Played around with the HandleAdornments’ ZIndexes.
- Parent the HandleAdornments to-, and outside both ViewportFrames.
Please, before you decide to reply, put some thought into your reply as I am not new to Roblox Studio.