Help with Axes, can't adjust the Vector position on a DModelPanel correctly.

Well I have made my DModel Panel( Code below ), and I can’t seem to adjust it so the model is large, and very visible on the size of the panel, It seems no matter how I adjust the axes, it doesn’t change, or it won’t change how I want it.

Basically I need to get it so the Model displayed on the panel is large, and visible. What do I do?

local ItemIcon = vgui.Create( “DModelPanel” )
ItemIcon:SetModel( v.Model )
ItemIcon:SetSize( 42, 42)
ItemIcon:SetPos( 30, 2)
ItemIcon:SetCamPos( Vector( 50, 50, 50 ) )
ItemIcon:SetLookAt( Vector( 0, 0, 0 ) )
ItemIcon:SetToolTip( v.Name … "
" … v.Desc … "
Amount: " … Amount )

Vector ( 50, 50, 50 ) is default, and that’s as close as it seems I can get them no matter how I adjust.

I believe Z axis is the one for forward/back but it doesn’t seem to adjust it?

The Z axis moves up and down, X and Y are forward/backward, left/right (Not sure about the order of those two)

I still can’t get it so the model is bigger, I don’t know what’s up with it.

Try making CamPos Vector(10, 10, 50) ?, I don’t know so much about DModelPanel so I can’t really help so much with that.

The image is still unbelievably small.


The variable name might be different, but I’m sure you can access the linked model.

Does 0.1 increase size?

No, that would set the model to 1/10th of the original size. Assuming of course, you can access the model created thats used in the panel.

That’s what I thought, and I’m not sure you can access it, i’ll test this soon though.