User Tools

Site Tools


global:bounce

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
global:bounce [2013/12/10 01:51]
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 (or wall) if enough force is applied.
  
-{{ :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 effect lasts.
  
-**Bounce Back Force:** How high will the character bounce+**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. **Maximum Bounces:** The maximum bounces allowed before the character stops bouncing regardless of the force applied.
  
-**Bounce Hit Boxes:** Will the character retain its hitboxes when bouncing or will it become invincible?+**Stick to Character:** If enabled, the bounce effect will follow the character. 
 + 
 +**Shake Camera On Bounce:** Toggles if the camera should shake when a ground bounce is triggered. 
 + 
 +**Shake Density:** How much "shake" is applied to the camera. 
 + 
 + 
 +---- 
 + 
 +===== 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:** If enabled, the bounce effect will follow the character. 
 + 
 +**Shake Camera On Bounce:** Toggles if the camera should shake when a wall bounce is triggered. 
 + 
 +**Shake Density:** How much "shake" is applied to the camera.
  
 ---- ----
Line 20: Line 56:
  
 Code example: Code example:
-<code>void OnRoundBegins(int round){+<code c#>void OnRoundBegins(int round){
  if (round == 2) UFE.config.bounceOptions.minimumBounceForce = 20;  if (round == 2) UFE.config.bounceOptions.minimumBounceForce = 20;
 } }
 </code> </code>
 ---- ----
 +
 +
 +[[global:start|< Back to Global Editor]]
global/bounce.1386658270.txt.gz · Last modified: 2013/12/10 01:51 by Mistermind