Jump to content
  • Advertisement
Sign in to follow this  
KxL

some of beginner question's (with 3d games)

This topic is 4841 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

First of all i would like to say HI to all of you. It's my first post here. I'm trying to plan every aspects of my project before i start to code..but i need some help with few topic's - maybe you can help me? I read "Programming game AI by example" and have some basic knowledge about AI and behavior. Here are some questions that im seeking for answer: - how is done path planning in 3d games such as HL 2? Is it based on graph, and if so, how is it build (by hand/generated by level desinging program) ? - and after i got a path to a location, how is movement for a character (3d) generated-i gest that all possible moves are animation clips, i wonder how are they mixed, how speed and distance of move is calculated (is it from a animation clip, or it calculated by "game") ? In old games it can be easily seen that movement was calculated by "game" and appropriate animation clip was played, but again in HL 2 i can't notice it. ..that will be all for now ;) Hope you find time to answer my question's, or give me a clue where i can read about it. Thanks and sorry for my bad english. KxL

Share this post


Link to post
Share on other sites
Advertisement
These guys can help you with pathfinding, I can't

But, in reference to the animations of objects/players: There are a few ways, most notably these days, keyframe animation (MD2 files, a la Quake 2), and skeletal animation. Skeletal animation uses the concept of "bones" to morph the vertices into the correct position. Scripts determining the movements of the bones move the vertices in the right patterns. Both Inverse Kinematics and Forward Kinematics apply to skeletal animation.

Share this post


Link to post
Share on other sites
ok..i know how it is done in 3d animation programs like Maya or 3ds max...but i wonder how this animations of each state (like running,jumping,turning) are blended. If they are based on bones and IK/FK transformation, so lets imagine this situation: our character run and when he is in key that left foot stand on the floor he have to jump (becouse there is a big hole..doesn't matter), but our clip for jump starts from right foot. We switch states to jump and every one will see that mistake...you know what i mean?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!