Firing action does not work

I tried to implement the action of firing a bullet following the tutorial, but I’m getting the following error and the bullet won’t fire… If anyone has any idea what might be causing this, please let me know.

E 0:00:01:0496 actg::ObjectCreator::add_to_same_object_root: [ObjectCreator] could not find Parent of ObjectRoot type.
<C++ Error> Condition “object_root == nullptr” is true.
<C++ Source> modules\actg_game_objects\actg_components.cpp:5318 @ actg::ObjectCreator::add_to_same_object_root()

This is likely an error that occurs when the game object is not placed as a child of ObjectRoot.
Are you placing the player as a child of ObjectRoot?

It worked after making it a child of ObjectRoot! Thank you.

1 Like