Search Unity

How can I use Unity FSM for my in-game behaviour?

Discussion in 'Scripting' started by EndUser, Mar 8, 2015.

  1. EndUser

    EndUser

    Joined:
    Aug 12, 2013
    Posts:
    51
    Salut!

    I have a draft for anti-aircraft gun behaviour. It is not controlled by a player, but by AI.

    Illustration: http://s15.postimg.org/c955yj623/Copy_of_FSM_20mm_Fla_K_38.jpg

    There is no much animation in 3D model: only turning the turret and elevating the barrel. May be some muzzle flashes with sounds.

    Is there any way to use Unity3D FSM capabilities to code my AA-gun?

    If possible, how can I do it? What should I study?

    Thank you!