This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
global:bounce [2013/12/09 22:31] Mistermind created |
global:bounce [2022/08/03 00:43] (current) FreedTerror |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Bounce Options ====== | ====== Bounce Options ====== | ||
- | Set rather or not a character will bounce off the ground if enough force is applied | + | Set rather or not a character will bounce off the ground |
- | {{ :global:global_bounce.jpg?nolink |}} | + | {{ :global:global_bounceoption.png?nolink |}} |
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Ground Bounce ===== | ||
+ | |||
+ | **Bounce Back Force:** When bouncing off the ground, how much of the vertical force applied should the engine use to bounce back up? (None: Never ground bounce) | ||
**Bounce Effect:** A prefab with particle effects that is fired when the character bounces of the ground. | **Bounce Effect:** A prefab with particle effects that is fired when the character bounces of the ground. | ||
- | **Minimum Bounce Force:** The minimum force required to create a bounce | + | **Effect Duration:** How long the bounce |
- | **Bounce | + | **Bounce |
+ | |||
+ | **Minimum Bounce | ||
**Maximum Bounces:** The maximum bounces allowed before the character stops bouncing regardless of the force applied. | **Maximum Bounces:** The maximum bounces allowed before the character stops bouncing regardless of the force applied. | ||
- | **Bounce Hit Boxes:** Will the character | + | **Stick to Character:** If enabled, the bounce effect will follow |
+ | |||
+ | **Shake Camera On Bounce:** Toggles if the camera should shake when a ground bounce is triggered. | ||
+ | |||
+ | **Shake Density:** How much " | ||
---- | ---- | ||
- | Code Access: '' | + | |
+ | ===== Wall Bounce ===== | ||
+ | |||
+ | **Bounce Back Force:** When bouncing off the wall, how much of the horizontal force is applied back (None: Never wall bounce). | ||
+ | |||
+ | **Bounce Effect:** A prefab with particle effects that is fired when the character bounces of the wall. | ||
+ | |||
+ | **Effect Duration:** How long the bounce effect lasts. | ||
+ | |||
+ | **Bounce Sound:** Sound triggered when bounce is triggered. | ||
+ | |||
+ | **Minimum Bounce Force:** The minimum force required to create a bounce. | ||
+ | |||
+ | **Maximum Bounces:** The maximum bounces allowed before the character stops bouncing regardless of the force applied. | ||
+ | |||
+ | **Stick to Character: | ||
+ | |||
+ | **Shake Camera On Bounce:** Toggles if the camera should shake when a wall bounce is triggered. | ||
+ | |||
+ | **Shake Density:** How much " | ||
---- | ---- | ||
+ | Code access: | ||
+ | |||
+ | '' | ||
+ | |||
+ | Code example: | ||
+ | <code c#>void OnRoundBegins(int round){ | ||
+ | if (round == 2) UFE.config.bounceOptions.minimumBounceForce = 20; | ||
+ | } | ||
+ | </ | ||
+ | ---- | ||
+ | |||
+ | |||
+ | [[global: |