In most cases, there will be others steps involved to customize your PlayerController and GameMode for the specific type of game that you are creating. Through the following steps, we will walk you through the creation of a custom PlayerController Blueprint Class that will allow you access to the mouse cursor.īe aware that these are just the basic steps for enabling mouse control. This is because not all games require a mouse cursor as their main form of interaction. Use Blueprint scripting (either within the Level Blueprint or any Actor Blueprints) to process mouse interaction.īy default, the PlayerController class does not have mouse interfacing enabled. Set the World Settings to use your new GameMode in the Default GameType. We will cover them in greater detail below:Ĭreate a new PlayerController Blueprint Class that enables the mouse cursor and any other desired mouse behavior.Ĭreate a new GameMode Blueprint Class that utilizes your new PlayerController Class. At a high level, the steps in Blueprint are as follows. To make a game where you use the mouse cursor possible, there are a few things you must do when getting started. Setting World Info Properties for Your Custom Game Mode Creating a Custom Player Controller for Mouse Control
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |