📄 demo.physics
字号:
floorPhysics
{
bounce 0 0
softness 0
gravity false
proxy box 500 1 500
}
boxPhysics
{
bounce 0 0.01
softness 0
mass box 0.5 2 2 2
proxy box 2 2 2
}
stepPhysics
{
bounce 0 0.01
softness 0
mass box 0.5 50 2 10
proxy box 100 2 100
}
spherePhysics
{
bounce 0 0.01
softness 0
mass sphere 0.8 1
proxy sphere 1
}
jeepPhysics
{
bounce 0 0.01
softness 0
mass box 10 2 1 7
proxy box 2 1 7
}
wheelPhysics
{
bounce 0 0.01
softness 0
mass sphere 2 1
proxy sphere 1
}
headPhysics
{
bounce 0 0.01
softness 0
mass sphere 0.5 1
proxy sphere 1
friction 0.1
}
bodyPhysics
{
bounce 0 0.01
softness 0
mass box 0.5 3 5 2
proxy box 3 5 2
friction 0.1
}
legPhysics
{
bounce 0 0.01
softness 0
mass box 0.5 1 3 1
proxy box 1 3 1
}
armPhysics
{
bounce 0 0.01
softness 0
mass box 0.5 1 3 1
proxy box 1 3 1
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -