Third Person Controller
pmpkn pmpkn Library update 8mo ago

Third Person Controller

A custom third person controller implementation not using the default player controller script and not using any animations.

favorite2favorites
thumb_up2upvotes
hard_drive 0 MB folder 24 files build Engine v22 history Last update 259d ago
open_in_new View on sbox.game

About This Package

A custom third person controller implementation not using the default player controller script and not using any animations.

To use:

Method 1: Prefab method

- just add the Player and camera pivot prefabs into your scene.

Method 2: Manual method:

1.  Create an empty entity in your scene  and call it anything you want (I chose player)

2. Add the following scripts to it:
  • Capsule collider (or any collider) for collision handling and set it up correctly
  • Character controller
  • Third Person controller
Note: the Third person controller class does not need the capsule collider for gravity since it uses custom ray casting to find the ground.

3. Create another empty entity in your scene and call it Camera Pivot (or anything you want)

4. Make the camera a child of this camera pivot and rename it to "FollowCamera" since this is used to find the camera automatically.

5. add the Spring Arm script to your camera pivot entity and specify the target transform (the object you want to follow, the player in this case)

You can add any player model you want as a child of your player entity.


NOTE: IF THE INPUTS ARE NOT WORKING RESTART YOUR PROJECT!

Media

No usage statistics available
This package may be new or not widely used yet. Usage data becomes available as more users install and play with the package.
Package ID: pmpkn.thirdpersoncontroller
Created: 2025-10-23 20:20 UTC
Updated: 2025-10-23 20:42 UTC
Type: library
Public: Yes
Version: 125557
files: 24
Size: 0.1 MB
Engine Version: 22
Asset Version ID: 125557
Version Created: 2025-10-23 20:42 UTC
Hash: 864518463043015444
Manifest: Open manifest
Resources:
Code Package References:
new_releases Latest Update Oct 23, 2025
Changes on 2025-10-23
tag v125557 folder 24 files hard_drive 0.1 MB build Engine v22
125557 Oct 23, 2025
Changes on 2025-10-23
folder 24 files hard_drive 69.84 KB build Engine v22
125552 Oct 23, 2025
Changes on 2025-10-23
folder 21 files hard_drive 75.58 KB build Engine v22
125551 Oct 23, 2025
Changes on 2025-10-23
folder 17 files hard_drive 69.7 KB build Engine v22