Learning Physics Modeling with PhysX

Krishna Kumar

  • 出版商: Packt Publishing
  • 出版日期: 2013-10-25
  • 售價: $1,170
  • 貴賓價: 9.5$1,112
  • 語言: 英文
  • 頁數: 104
  • 裝訂: Paperback
  • ISBN: 1849698147
  • ISBN-13: 9781849698146
  • 相關分類: 物理學 Physics
  • 下單後立即進貨 (約1~2週)




As a game developer, you'll know the power of PhysX to add simulation-level realism to games, and this book shows you exactly how best to achieve it with a hands-on, examples-led approach. Sophisticated stuff.


  • Learn everything you need to know about PhysX programming from scratch
  • Master the most advanced features of the PhysX Physics Engine
  • Code examples are included in each chapter to help you learn quickly and efficiently

In Detail

In this day and age, physics engines play a very critical role in the success of a sophisticated game. PhysX is a state-of-the-art cross-platform physics engine widely used by top game studios and developers. It contains all the physics-related components you will need and exploits the parallel-processing capability of modern GPUs as well as multi-core CPUs to make a game as physically-realistic as possible. This book will help you to program and simulate games by using PhysX 3.

Learning Physics Modeling with PhysX helps you to master physics simulation using the PhysX Physics Engine from scratch. This is useful not only for game developers, but also for developers making virtual walkthroughs or training and other simulation applications. It will cover all the essential features of PhysX 3 with easy-to-understand code snippets and examples to help you learn quickly and efficiently.

This book will start off by introducing you to the basic concepts of physic engines and will give you a glimpse of PhysX implementation. We then gradually cover more sophisticated topics with sample source code so that you can see what you have learned in action. We will cover the history and features of the PhysX SDK as well as how to configure it with the C++ compiler. After touching upon essential topics like rigid body dynamics and collision detection, we will gradually move on to more advanced topics like joints, scene queries, character controllers, particles, and cloth simulation. By the end of this book, you will have learned everything you need to know about the PhysX 3 Physics Engine, and you will be able to use it to program your very own physics simulation quickly and efficiently.

What you will learn from this book

  • Learn about the history and features of the PhysX SDK as well as how to configure it with the C++ compiler
  • Create, update, and destroy scenes and actors in PhysX
  • Modify the properties of rigid body dynamics like mass, velocity, force, and so on
  • Understand joints and their types including fixed, revolute, spherical, distance, and D6
  • Understand the types of scene queries like raycast, sweep, and overlap as well as the different modes of operation
  • Master the character controller and cloth simulations
  • Create particle systems and update and release particles
  • Learn how to use the PhysX Visual Debugger and its interface


Written as a practical, step-by-step tutorial, this book is full of engaging examples to help you learn in a practical context.

Who this book is written for

This book is for game developers or anyone who wants to learn how to fully utilize the PhysX Physics Engine quickly and efficiently. You don't have to be a die-hard programmer to get started with this book. Basic knowledge of C++, 3D mathematics, and OpenGL is all you need.