补充3.7版本文档:物理系统API/事件/枚举值、游戏设置事件、物品ID变更、物理使用指南
Some checks failed
Deploy VitePress to AliYun OSS / build-and-deploy (push) Has been cancelled
Some checks failed
Deploy VitePress to AliYun OSS / build-and-deploy (push) Has been cancelled
This commit is contained in:
22
docs/mcdocs/1-ModAPI/枚举值/PxRigidDynamicLockFlag.md
Normal file
22
docs/mcdocs/1-ModAPI/枚举值/PxRigidDynamicLockFlag.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# PxRigidDynamicLockFlag
|
||||
|
||||
class in mod.common.minecraftEnum
|
||||
|
||||
- 描述
|
||||
|
||||
自定义刚体约束枚举
|
||||
|
||||
|
||||
|
||||
```python
|
||||
class PxRigidDynamicLockFlag(object):
|
||||
eLOCK_LINEAR_X = (1 << 0) # 锁定x轴平移
|
||||
eLOCK_LINEAR_Y = (1 << 1) # 锁定y轴平移
|
||||
eLOCK_LINEAR_Z = (1 << 2) # 锁定z轴平移
|
||||
eLOCK_ANGULAR_X = (1 << 3) # 锁定x轴旋转
|
||||
eLOCK_ANGULAR_Y = (1 << 4) # 锁定y轴旋转
|
||||
eLOCK_ANGULAR_Z = (1 << 5) # 锁定z轴旋转
|
||||
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user