O'Reilly logo

CryENGINE Game Programming with C++, C#, and Lua by Ruan Pearce-Authers, Carl-Filip Lundgren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Physics Programming

The CryENGINE physics system is an extensible physics implementation that allows for the creation of a truly dynamic world. With a sizeable API, developers will find that there's plenty of wiggle room when it comes to implementing physical simulations.

In this chapter, we will:

  • Learn the workings of the physics system
  • Discover how to debug our physicalized geometry
  • Learn how to ray cast and intersect primitives to discover contact points, ground normal, and more
  • Create our own physicalized entity
  • Make things go boom by using simulated explosions

CryPhysics

The physical entity system is oriented around the concepts of physical entities, which are accessible via the IPhysicalEntity interface. A physical entity represents geometry ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required