武装突袭 Wiki
Advertisement
Introduced with Arma 3 version 1.12
  Arguments of this scripting command don't have to be local to the client the command is executed on

點擊圖片可看到更多訊息

開始使用於

遊戲:
Arma 3
版本:
1.12

描述

描述:
Returns mass of a PhysX object.

基本句法

句法:
getMass object
參數:
object: Object
返回值:
Number

範例

範例1:
_mass = getMass _myCar

額外資訊

多人遊戲:
-
也可以看看:
getCenterOfMasssetCenterOfMasssetMassloadweightRTD

注意事項

此處撰寫句法皆為可行用法. 可到官網[1]專頁回報錯誤. 你可以使用討論頁面或是論壇來進行討論.
新增注意事項 | 如何新增?

Notes

Bottom Section

Posted on April 15, 2015 - 20:15 (UTC)
Pierre MGI
This function will return 0 for infantry AI units. That means a manned Blufor Hunter has the same mass than an empty one (8306.63). Crates return their initial mass, but if you empty them or load items, magazines and weapons, the mass remains the same. In fact, none of these (non-physx) objects has a mass.
Advertisement