Pet Simulator X Open Egg

  1. What do you want to achieve? I want to make hatching like in pet simulator x (it’s show in workspacee not in viewport) and the pets are in the same position of the ui display (it has pet name and rarity)

  2. What is the issue? I don’t have great understanding of cframes so i can’t calculate the position relative to ui and camera

  3. What solutions have you tried so far? I tried to use fixed positions but it in other screen sizes it broken and i tried to see sloutions but i didn’t find any solution.
    Fixed Positions: (screen size = 766,754)


    But in screen size = 1280,720 it broken and i want to make another position like in left pet

2 Likes

Why wouldn’t you use viewportFrame for this?

3 Likes

You need to just use ViewportFrame. It renders 3d objects on a UI basically, it basically makes it like a 2d object. While making pets, it’s often used.

2 Likes

pet in the viewport is looks bad

3 Likes

Viewport frame render 3D model in a very bad quality and didn’t rendering particle effects and graphic changes.

Doing it by positioning object forward the camera is a way better and higher quality render… that’s also how PSX do.

3 Likes

Have you found out a way to do this?

2 Likes

https://devforum.roblox.com/t/getting-viewportframe-light-direction-to-match-world-light-direction/2331553

this is the answer to this