---
title: "Player Controller - s&box library"
description: "Components for player controller"
canonical: "https://sbox.watch/zh-cn/libraries/facepunch/playercontroller/"
generated_at: "2026-11-27T13:40:25.256Z"
---

# Player Controller

Components for player controller

- 类型: 库
- 标识符: facepunch.playercontroller
- 创作者: Facepunch
- 规范地址: https://sbox.watch/zh-cn/libraries/facepunch/playercontroller/
- Markdown: https://sbox.watch/zh-cn/libraries/facepunch/playercontroller/index.md
- sbox.game: https://sbox.game/facepunch/playercontroller/
- 生成时间: 2026-11-27T13:40:25.256Z

## 统计

- 24小时热度: +0
- Terry 评分: 96%
- 收藏: 98
- 好评: 74
- 差评: 0
- 更新时间: 2024年5月7日
- 创建时间: 2024年5月3日
- 大小: 9.5 KB
- 文件: 8
- 标签: playercontroller, firstperson, shooter, halflife, quake

## 描述

Provides a player controller that you can use in your games.

Features

Walking, running, sprinting, crouching.

Components

PlayerController - The actual player controller. Uses player inputs to move a CharacterController.

PlayerFootsteps - When attached to a SkinnedMeshRenderer will listen for and react to footstep events,

PlayerPusher - Creating a pusher will push the player. Attach these to other players to allow players to push others out of the way, and avoid them being able to walk inside each other.



## More by Facepunch

| Package | 标识符 | 玩家 | 收藏 | 好评 | 评分 | Markdown |
| --- | --- | --- | --- | --- | --- | --- |
| SDF Mesh Library | facepunch.libsdf | 0 | 30 | 25 | 90% | https://sbox.watch/zh-cn/libraries/facepunch/libsdf/index.md |
| Sprite Tools (OBSOLETE) | facepunch.spritetools | 0 | 18 | 22 | 83% | https://sbox.watch/zh-cn/libraries/facepunch/spritetools/index.md |
| Game Events | facepunch.libevents | 0 | 15 | 13 | 83% | https://sbox.watch/zh-cn/libraries/facepunch/libevents/index.md |
| State Machines | facepunch.libstates | 0 | 13 | 17 | 86% | https://sbox.watch/zh-cn/libraries/facepunch/libstates/index.md |
| Spline Tools | facepunch.splinetools | 0 | 12 | 17 | 86% | https://sbox.watch/zh-cn/libraries/facepunch/splinetools/index.md |
| Model Viewer | facepunch.modelviewer | 0 | 9 | 9 | 77% | https://sbox.watch/zh-cn/libraries/facepunch/modelviewer/index.md |
