0
Answered

Adding Actions

Christina Veldman 2 months ago in Traversal updated by Marti (Lead Developer) 2 months ago 2

Sorry, guys. Newbie here... I feel like this is a dumb question, but I am a tad bit confused. As far as I understand it, if I would like to add additional locomotion/states/gestures to a player or a character (such as climbing a ladder, walking up stairs, or picking up an object), I should add 'actions'. I am just not sure where to put the actions - do I add them to the game objects I intend the player to interact with, or should I store the actions under an empty object or the player itself? If I wish to add multiple animation/states, should I add them all as separate actions?

Unity version:
2019.1.0f2
Game Creator version:
1.0.1

Answer

+2
Answer
Answered

Hi @Christina, this is a very good question. As @itsthehawke says, it all comes down to a matter of preference. I would personally suggest creating an empty game object and add each system of their own inside that empty game object. You can then create a prefab out of that and reuse the Actions, Triggers, Local Variables, ... in other scenes that also use the same system.


However, you're free to organize this as you see fit in your game. Each project will probably have different requirements.

GOOD, I'M SATISFIED
Satisfaction mark by Christina Veldman 2 months ago
+2

I guess it comes down to your personal preference.

Im trying to keep things sorted out so I put game controller actions under one category, other things in separate categories.

+2
Answer
Answered

Hi @Christina, this is a very good question. As @itsthehawke says, it all comes down to a matter of preference. I would personally suggest creating an empty game object and add each system of their own inside that empty game object. You can then create a prefab out of that and reuse the Actions, Triggers, Local Variables, ... in other scenes that also use the same system.


However, you're free to organize this as you see fit in your game. Each project will probably have different requirements.