Now that we have our basic character OPR setup, the next step is to actually attach the controller script to our object so we can jump in and check it out in-game!

Attaching a controller script to an object is fairly straightforward.

Step 1 - Select the Object in the world

Step 2 - Go to the 'Controller' tab on the Object Properties panel

Step 3 - Click 'Select Script'

Step 4 - Choose 'From Internal Library'

Step 5 - Browse to 'Characters / network_character.gsl'

Note the checkbox in the lower-right corner 'Reset Controller Settings' - if you check this, GameCore will automatically clear all of the Controller Settings that may be present in an object prior to adding the ones supported by the script.  This is useful if you have been experimenting with settings and simply want to reset them back to the default.


GameCore will automatically add the appropriate entries to your character OPR and reload the object with the new properties so you can immediately start tweaking the controller settings and customize your character's behavior.

The image below shows my object updated with the default settings for the Character Controller.

 

You can leave the Controller Settings for our character at the defaults for the time being.