找回密碼
 注冊帳號

掃一掃,訪問微社區

characterjoint 角色關節

2015-1-4 12:27| 發布者: 楊炎| 查看: 1972| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: characterjoint 角色關節inherits fromjointcharacter joints are mainly used for ragdoll effects. they are an extended ball-socket joint which allows you to limit the joint on each axis.角色關節主要用于 ...

characterjoint 角色關節

inherits fromjoint

character joints are mainly used for ragdoll effects. they are an extended ball-socket joint which allows you to limit the joint on each axis.

角色關節主要用于布娃娃效果。它們是一個擴展的球窩狀關節,允許你在每個軸上限制關節。

variables變量

swingaxis

the secondary axis around which the joint can rotate

關節可以圍繞旋轉的副軸。

lowtwistlimit

the lower limit around the primary axis of the character joint.

角色關節圍繞原始軸的下限。

hightwistlimit

the upper limit around the primary axis of the character joint.

角色關節圍繞原始軸的上限。

swing1limit

the limit around the primary axis of the character joint.

角色關節圍繞原始軸的限制。

swing2limit

the limit around the primary axis of the character joint.

角色關節圍繞原始軸的限制。

inherited members繼承成員

inherited variables繼承變量

connectedbody

a reference to another rigidbody this joint connects to.

這個關節連接到的另一個剛體的引用。

axis

the direction of the axis around which the body is constrained.

物體被約束繞這個軸的方向。

anchor

the position of the anchor around which the joints motion is constrained.

關節的運動被約束繞這個錨的位置。

breakforce

the force that needs to be applied for this joint to break.

需要應用給這個關節斷開的力。

breaktorque

the torque that needs to be applied for this joint to break.

需要應用給這個關節斷開的力矩。

transform

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

transform附加到gameobject(游戲物體)(如無附加則為空)。

rigidbody

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

rigidbody附加到gameobject(游戲物體)(如無附加則為空)。

camera

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

camera附加到gameobject(游戲物體)(如無附加則為空)。

light

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

light附加到gameobject(游戲物體)(如無附加則為空)。

animation

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

animation附加到gameobject(游戲物體)(如無附加則為空)。

constantforce

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

constantforce附加到gameobject(游戲物體)(如無附加則為空)。

renderer

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

renderer附加到gameobject(游戲物體)(如無附加則為空)。

audio

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

audiosource附加到gameobject(游戲物體)(如無附加則為空)。

guitext

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

guitext附加到gameobject(游戲物體)(如無附加則為空)。

networkview

thenetworkviewattached to thisgameobject(read only). (null if there is none attached)

networkview附加到gameobject(游戲物體)(只讀)(如無附加則為空)。

guitexture

theguitextureattached to thisgameobject(read only). (null if there is none attached)

guitexture附加到gameobject(游戲物體)(只讀)(如無附加則為空)。

collider

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

collider附加到gameobject(游戲物體)(如無附加則為空)。

hingejoint

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

hingejoint附加到gameobject(游戲物體)(如無附加則為空)。

particleemitter

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

particleemitter附加到gameobject(游戲物體)(如無附加則為空)。

gameobject

the game object this component is attached to. a component is always attached to a game object.

組件附加的游戲物體。一個組件總是被附加到一個游戲物體。

tag

the tag of this game object.

游戲物體的標簽。

name

the name of the object. //物體的名字

hideflags

should the object be hidden, saved with the scene or modifiable by the user?

物體是否被隱藏、保存在場景中或被用戶修改?

相關閱讀

文章點評
相關文章
女校游泳队彩金