component.hingejoint 铰链关节

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

摘要: component.hingejoint 铰链关节varhingejoint:hingejointdescription描述thehingejointattached to thisgameobject(null if there is none attached).hingejoint附加到gameobject(游戏物体)(如无附加则为空)。c# ...

component.hingejoint 铰链关节

varhingejoint:hingejoint

description描述

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

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

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

hingejoint.motor.targetvelocity = 5;

}

}

hingejoint.motor.targetvelocity = 5;

相关阅读

文章点评
相关文章