Entity override draw function for props (similar to hats)

Hey All,

So I’m trying to override the draw function for models tied to a player.

The problem I’m having is that while the model follows the player around pretty well, the model doesn’t rotate with the player. Client side, it appears that the player is wearing the model, but server side, the model appears to always be facing one direction.

I’ve done some troubleshooting, and I’ve narrowed it down to a problem in the draw function, but I’m having trouble with the implementation. Can someone help me along here?

[editline]9th November 2013[/editline]

Update: I know it has something to do with tying it to a bone, but I’m not quite sure where to go from there.