How would I set the animations of a model through a DModelPanel entity. The only commented function is self:RunAnimation() but if I’d like to make my model “shoot” or “idle”, how would I do so?
DModelPanel.Entity is the entity in the view. Use it like it’s an entity.
Here’s what i use.
Also stops that shitty spinning effect.
function PlayerModelPanel:LayoutEntity( ent )
local Seq = PlayerModelPanel.Entity:LookupSequence( “idle_angry” );
ent:SetAngles( Angle( 0, 45, 0 ) );
Ah thanks! That’s exactly what I was looking for.