Book Image

Babylon.js Essentials

By : Julien Moreau-Mathis
Book Image

Babylon.js Essentials

By: Julien Moreau-Mathis

Overview of this book

Are you familiar with HTML5? Do you want to build exciting games and Web applications? Then explore the exciting world of game and Web development with one of the best frameworks out there: Babylon.JS. Starting from the beginning, the book introduces the required basics for 3D development and the knowledge you need to use the Babylon.js framework. It focuses on the simplicity provided by Babylon.js and uses a combination of theory and practice. All the chapters are provided with example files ready to run; each example file provides the previously learned features of the framework. Finally, developers will be ready to easily understand new features added to the framework in the future.
Table of Contents (15 chapters)
Babylon.js Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Summary


You are now ready to configure the collisions for your scene and simulate physics. Whether by code or by artists, you can understand the pipeline in order to make your scenes more alive. Don't hesitate to manipulate the example files. There are three important functions, as follows:

  • createScene(): This creates the meshes and materials
  • createCollisions(): This configures the collisions on scene, camera, and meshes
  • createPhysics(): This configures the physics properties of meshes and applies impulses

In the next chapter, it's time to make your scenes more alive by adding audio tracks to it. You'll be able to add sounds, spatialized or not, to your scenes whether by code or by artists with the help of the sound support in 3ds Max and Blender.