Book Image

CryENGINE 3 Cookbook

By : Dan Tracy, Sean P Tracy (USD)
Book Image

CryENGINE 3 Cookbook

By: Dan Tracy, Sean P Tracy (USD)

Overview of this book

With every successive console generation, the cost, time, and complexity of developing games has grown. Meet CryENGINE3, a middleware engine that is the perfect fit for most developers allowing users to exceed current generation quality standards while using less people and time than ever thought possible.The CryENGINE3 CookBook is packed full of recipes for junior and senior developers alike. It covers everything from creating photo realistic architectural visualizations to implementing advanced physics such as ragdoll and tornado effects. Topics covered include the sandbox, level layout, environment creation, AI, character creation, creating vehicles, and game logic. Every recipe is designed to add AAA quality to your games. The CryENGINE3 SDK has many tools immediately available to developers of all disciplines. For designers the book has recipes for building up your own levels and populating your levels with intelligent AI and photo realistic assets. For artists we have recipes for practical workflow tools and techniques used when working with the advanced CryENGINE shaders and materials. For animators we have recipes that will bring your creations to life using skinned characters and advanced animation systems like locomotion groups. Finally for programmers we have recipes that show how to employ the core mechanics behind entities such as vehicles and weapons while also utilizing the strengths of the physics engine to create a unique and exciting game.
Table of Contents (18 chapters)
CryENGINE 3 Cookbook
Credits
About the Authors
www.PacktPub.com
Preface
Index

Animating rigid body geometry data


In the CryENGINE, not all animation needs to be driven by bones. The engine supports animating hard body geometry, which can be far more optimal for certain assets and in certain situations. You might want to animate complex scenes such as the destruction of an object in 3ds Max and then export that to the engine, or you might simply want to open the door on a vehicle—all this can be done using rigid body geometry animation.

Getting ready

Animated hard body geometry data only supports directly linked objects and does not support skeletal-based animation. It is composed of two file types:

  • .cga (Crytek Geometry Animation)

  • .anm (Additonal Animation)

How to do it...

Let's creates some rigid body animation:

  1. In 3ds, create two simple spheres primitives in the scene.

  2. Convert the primitives to edit polys.

  3. As we will be exporting a .anm file for a .cga geometry, we must convert all the objects that will be animated to the Tension Continuity and Bias controller or TCB.

  4. Change...