The Enable Input node requires that a Target (usually Self - the Actor itself) as well as a Player Controller (the player that will be providing the input) be specified. This is the basic method in which you can enable input on an Actor. In the graph, Right-click search for and add the Enable Input node.Ĭonnect the out pin of the Event Begin Play to the in pin of the Enable Input node.Ĭonnect the Get Player Controller node to the in Player Controller pin on the Enable Input node. In the graph, Right-click search for and add the Get Player Controller node. On the Event Graph tab, Right-click in the graph and search for then add the Event Begin Play node. Inside the StarterContent/Blueprints folder, open the Blueprint_Effect_Fire asset. The steps below will show you how to Enable Input for an Actor: For this example, we are using the Blueprint First Person Template with Starter Content.
0 Comments
Leave a Reply. |