O'Reilly logo

CryENGINE 3 Cookbook by Dan Tracy, Sean Tracy

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

Low gravity

In this simple recipe, we will look at utilizing the GravityBox to set up a low gravity area within a level.

Getting ready

  • Have Sandbox open
  • Then open My_Level.cry

How to do it...

  1. To start, first we must place down a GravityBox.
  2. In the RollupBar, click on the Entities button.
  3. Under the Physics section, select GravityBox.
  4. Place the GravityBox on the ground:
    How to do it...

Keeping the default dimensions (20, 20, 20 meters), the only property here that we want to change is the gravity. The default settings in this box set this entire area within the level to be a zero gravity zone. To adjust the up/down gravity of this, we need to change the value of gravity ...

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