Can I have some resources on 3d NPC programming? I mean the kinds you get in current-generation FPSs, the ones that run, crouch, and do other scripted animations while simulataneously responding to external stimulus and interact with the physics engine. Basically, I'd like information on making good quality, smoothly animated 3d bots.
Articles, tutorials, anecdotes, libraries, source code, engines, whatever. Some relevant search terms to put into google would be good too.
That's an animation thing, bar the "smooth" bit which just requires linear interpolation. Basically, once you have the animations, you just tell the character to step through frames and move around like you would with 2D characters.
Name:
Anonymous2010-10-14 15:45
>>2
Ok, and I just have a little internal brain to switch between animations depending on what's going on around it?
>>3
Pretty much. What works well enough is a little state machine with a timer since it last changed to that state. Then just look up the animation depending on the state, and the frame of the animation depending on the timer.