Be the first to post for 'Who’s Pulled the Trigger'!

If you’re reading this, there probably aren’t very many posts yet. But don’t worry, you can be the first! Either create a new post or just reply to this one to say ‘hi’.

I don’t understand why we can’t bind our ‘AMannequin::PullTrigger()’ method to ‘Fire’ action within ‘AMannequin::SetupPlayerInputComponent(…)’ method? In this section talks that the Gun object isn’t existing when ‘SetupPlayerInputComponent(…)’ called, but we call ‘PullTrigger()’ method, not ‘Gun::OnFire()’. So never mind does we have or not our Gun if we call ‘PullTrigger()’.
I tested it and everything works well.

That’s a perfectly valid solution for sure.

Privacy & Terms