Difference between revisions of "Gravity"

From Castle Wiki
m (minor improvements)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Gravity is a [[behavior]] which increases the downward velocity of an actor over time. The gravity strength behavior property can be modified in the [[inspector]] in the Movement tab.
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 [[Motion|Dynamic motion]].
 
== Properties ==
 
* '''Strength''': How much to apply the force of gravity downward.
 
== Using Gravity with [[Rule|Rules]] ==
 
* Gravity can be enabled or disabled using the '''Enable/Disable behavior''' [[Response]]'''.'''

Latest revision as of 22:26, 16 May 2022

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.