component.rigidbody 刚体

2015-1-5 06:57| 发布者: 杨炎| 查看: 1354| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: component.rigidbody 刚体varrigidbody:rigidbodydescription描述therigidbodyattached to thisgameobject(null if there is none attached).rigidbody附加到gameobject(游戏物体)(如无附加则为空)。c#javascrip ...

component.rigidbody 刚体

varrigidbody:rigidbody

description描述

therigidbodyattached to thisgameobject(null if there is none attached).

rigidbody附加到gameobject(游戏物体)(如无附加则为空)。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

rigidbody.addforce(1, 1, 1);

}

}

rigidbody.addforce(1, 1, 1);

相关阅读

文章点评
相关文章