This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
global:bounce [2013/12/10 01:50] Mistermind |
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 | + | **Stick to Character: |
+ | |||
+ | **Shake Camera On Bounce: | ||
+ | |||
+ | **Shake Density:** How much " | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== 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 | ||
+ | |||
+ | **Effect Duration:** How long the bounce effect lasts. | ||
+ | |||
+ | **Bounce Sound:** Sound triggered | ||
+ | |||
+ | **Minimum Bounce Force:** The minimum force required to create a bounce. | ||
+ | |||
+ | **Maximum Bounces:** The maximum bounces allowed before the character stops bouncing | ||
+ | |||
+ | **Stick to Character: | ||
+ | |||
+ | **Shake Camera On Bounce:** Toggles if the camera should shake when a wall bounce is triggered. | ||
+ | |||
+ | **Shake Density:** How much " | ||
---- | ---- | ||
Line 20: | Line 56: | ||
Code example: | Code example: | ||
- | < | + | < |
- | if (round == 2) UFE.config.bounceOptions.bounceForce | + | if (round == 2) UFE.config.bounceOptions.minimumBounceForce |
+ | } | ||
</ | </ | ||
---- | ---- | ||
+ | |||
+ | |||
+ | [[global: |