Shooter module overview popularité : 69
Weapons popularité : 88
Ammunition popularité : 91
Advanced API popularité : 92
Slide 1
Slide 2
Slide 3
Slide 4
Slide 5
Slide 6
Slide 7
Slide 8
Slide 9
Slide 10
IMAGE OR CARROUSEL for section header You successfully read this important alert message.

TEXTE AVANT FILTRAGE

Overview

There are two main objects in the Shooter module:

Weapons: A configuration object that lets you define how a weapon is handled, which prefab is used and the States in which the character will pose when aiming with a particular weapon. Requires an Ammo object linked.

Ammo: A configuration object tied to a weapon that defines how a particular ammunition type works, including the effects of shooting, charging a shot or whether it uses a crosshair, a visual trajectory, ...

Operation

The Shooter module works as a FSM that follows the rules of the diagram below. For example, a Character can not shoot unless it’s armed and aiming.

assets%2F-LAqwYovmUPn5V6CMeID%2F-Lp4QK77OG5Q_w68s5tn%2F-Lp4QUfdAmCbcWf0xcdY% (...)

To transition between different states you’ll need to use the corresponding Action. If a Character tries to shoot when it’s in a state that TEXTE APRES FILTRAGE
-  : liste tous les intertitres de l’article
-  : liste tous les documents de l’article sous forme de mini-vignette non cliquables. Avec deux paramètres :

width : largeur de la vignette en px,
raz : nombre de vignette sur une seule ligne. Juste après la Nième(raz) vignette, un
est inséré.

>