close
body.linearDamping
The numerical value for how much the body's linear motion is damped. The default is zero.
其數值為多少身體的直線運動被抑制。默認是零。
如果:
*.linearDamping = 0.3 --可以模擬摩擦毛氈
Syntax:
body.linearDamping
Example:
myBody.linearDamping = 5
local d = myBody.linearDamping
Returns:
Number
Remarks:
Supported on operating systems and platforms for build numbers shown:
Mac OS X:Build 2010.222
Windows: Build 2010.222
iOS: Build 2010.222
Android: Build 2010.222
Related:
全站熱搜
留言列表