Files
小坤 1d963e8307
Some checks failed
Deploy VitePress to AliYun OSS / build-and-deploy (push) Has been cancelled
补充3.7版本文档:物理系统API/事件/枚举值、游戏设置事件、物品ID变更、物理使用指南
2026-03-02 00:17:03 +08:00

21 lines
486 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# PxForceMode
class in mod.common.minecraftEnum
- 描述
添加力的模式
```python
class PxForceMode(object):
eFORCE = 0 # 力,单位为质量 × 距离 / 时间²
eIMPULSE = 1 # 冲量,单位为质量 × 距离 / 时间
eVELOCITY_CHANGE = 2 # 速度变化,单位为距离 / 时间,直接改变速度,与质量无关
eACCELERATION = 3 # 加速度,单位为距离 / 时间²,直接施加加速度,与质量无关
```