Difference between revisions of "Gravity"
From Castle Wiki
Line 1: | Line 1: | ||
Gravity is a [[behavior]] which causes | 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 | 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 == | == Properties == | ||
* '''Strength''': How much to apply the force of gravity downward. | * '''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.