Gravity

From Castle Wiki
Revision as of 22:26, 16 May 2022 by Ben (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Gravity is a behavior which causes a blueprint's actors to fall. Specifically, it increases the downward velocity of an actor over time.

You can add Gravity by opening the Inspector for a blueprint, navigating to the Movement tab, and pressing Add physics or controls. Make sure the blueprint already has Dynamic motion.

Properties

  • Strength: How much to apply the force of gravity downward.

Using Gravity with Rules

  • Gravity can be enabled or disabled using the Enable/Disable behavior Response.