Talk:Locking Npc Animations

From Valve Developer Community
Jump to: navigation, search

Ah! interesting article, helped me fix a LOOOONG standing issue with my mod. I was expecting NPCs to move the same way players do. Player animations just walk on the spot and use code to decide how fast they move. NPCs seem to use the offset from the origin during the animation * frame rate to decide how fast they move. I was making my new NPC models with player style movement animations, so they weren't moving at all ^^.

My only critique is that the title is not particularly descriptive and doesn't tell you what "locking" is for.


This article just fixed all my problems. (AKA, getting momentum into the animations of NPCs) This article needs a rename, or better explanation, or more links to it. This article is KEY to modding. --Omni 19:03, 3 Mar 2008 (PST)