User Tools

Site Tools


global:bounce

This is an old revision of the document!


Bounce Options

Set rather or not a character will bounce off the ground if enough force is applied

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

Bounce Back Force: How high will the character bounce

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?


Code access:

UFE.config.bounceOptions

Code example:

void OnRoundBegins(int round){
	if (round == 2) UFE.config.bounceOptions.minimumBounceForce = 20;
}

global/bounce.1386658270.txt.gz · Last modified: 2013/12/10 01:51 by Mistermind