Stop the rotation of DModelPanel

How do I stop a model from rotating when using ModelPanel?

Override the LayoutEntity function:

function modelPanel:LayoutEntity( Entity ) self:RunAnimation() end

I said rotation, not animation…

By overriding LayoutEntity like that, you remove the rotation code. You should have a look at the original function here.

Do what he said and you’ll see he’s right.


I really need to start looking at the original files…Thanks for the help