Cam.Start2D3D Halp

Aight so, I started working on a small ent for fun just testing out the cam.2d3d and i was wondering if its possible to rotate the image like backwards or however you say.
Here’s a pic if it helps you understand. I’m trying to make it line up with the prop screen.


You gotta use Angle:RotateAroundAxis for that.

Keep in mind that the screen is a little bubbly, it sticks out more in the center than in the corners.

local ang = self:GetAngles();
local position = self:GetPos();
local offset = ang:Up() * 23 + ang:Forward() * 12 + ang:Right() * 10;
ang:RotateAroundAxis(ang:Forward(), 90);
ang:RotateAroundAxis(ang:Right(), 270);
ang:RotateAroundAxis(ang:Up(), 0);
cam.Start3D2D(position + offset, ang, 0.1);
surface.SetDrawColor(0, 0, 0, 255);
surface.DrawRect(0, 0, 200, 150);

	--draw.SimpleText("Randows", "screentext", 200, 100, Color(255, 255, 255, 255), 1, 1);


Havent found the Z axis

its cam.Start3D2D(v,a,s) and help

Yes i know that as you can see from my code, typo in post though.

Not sure which way your angle is aligned but just do some trial and error with RotateAroundAxis and one of the ones you already have. Keep in mind that you can add additional RotateAroundAxis after each other. So make a new RotateAroundAxis after the last of your 3, try one of the 3 directions and I’m sure you’ll achieve your goal.