国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

約束-父約束 (Parent Constraints)

2020-11-23 14:09 作者:unity_某某師_高錦錦  | 我要投稿

Parent Constraint 將移動(dòng)并旋轉(zhuǎn)游戲?qū)ο?,就好像它?Hierarchy 窗口中另一個(gè)游戲?qū)ο蟮淖禹?xiàng)一樣。不過(guò),該組件提供了一些優(yōu)勢(shì),這是將某個(gè)游戲?qū)ο笞優(yōu)榱硪粋€(gè)游戲?qū)ο蟮母疙?xiàng)所不能實(shí)現(xiàn)的,具體包括:

  • Parent Constraint 不會(huì)影響縮放比例。

  • 一個(gè) Parent Constraint 可以鏈接到多個(gè)游戲?qū)ο蟆?/p>

  • 游戲?qū)ο蟛槐厥?Parent Constraint 鏈接到的游戲?qū)ο蟮淖禹?xiàng)。

  • 可以通過(guò)指定權(quán)重以及每個(gè)源游戲?qū)ο蟮臋?quán)重來(lái)改變約束的影響。

例如,要將一把劍放在角色的手中,應(yīng)將 Parent Constraint 組件添加到劍游戲?qū)ο笊稀T?Parent Constraint 的?Sources?列表中,鏈接到角色的手。這樣,劍的移動(dòng)將被約束到手的位置和旋轉(zhuǎn)。

Parent Constraint 組件

屬性

Property:????????????????????????????????????????????????????????????????????????Function:

Activate????????????After you move and rotate the constrained GameObject and its source GameObjects, click?Activate?to save this information.?Activate?saves the current offset from the source GameObjects in?Rotation At Rest,?Position At Rest,?Position Offset, and?Rotation Offset, then checks?Is Active?and?Lock.

Zero????????????????????Sets the position and rotation of the constrained GameObject to the source GameObjects.?Zero?resets the?Rotation At Rest,?Position At Rest,?Position Offset, and?Rotation Offset?fields then checks?Is Active?and?Lock.

Is Active????????Toggles whether or not to evaluate the Constraint. To also apply the Constraint, make sure?Lock?is checked.

Weight????????????The strength of the Constraint. A weight of 1 causes the Constraint to move and rotate this GameObject at the same rate as its source GameObjects. A weight of 0 removes the effect of the Constraint completely. This weight affects all source GameObjects. Each GameObject in the?Sources?list also has a weight.

Constraint Settings?????????

Lock????????Toggle to let the Constraint move and rotate the GameObject. Uncheck this property to edit the position and rotation of this GameObject. You can also edit the Rotation At Rest, Position At Rest, Position Offset, and Rotation Offset properties. If Is Active is checked, the Constraint updates the Rotation At Rest, Position At Rest, Position Offset, or Rotation Offset properties for you as you move and rotate the GameObject or its Source GameObjects. When you are satisfied with your changes, check Lock to let the Constraint to control this GameObject. This property has no effect in Play Mode.

Position At Rest????????????????????The X, Y, and Z values to use when Weight is 0 or when the corresponding?Freeze Position Axes?are not checked. To edit these fields, uncheck?Lock.

Rotation At Rest????????????????The X, Y, and Z values to use when Weight is 0 or when the corresponding?Freeze Rotation Axes?are not checked. To edit these fields, uncheck?Lock.

Position Offset????????????????????The X, Y, and Z position offset from the Transform that the Constraint imposes. To edit these fields, uncheck?Lock.

Rotation Offset????????????????????The X, Y, and Z rotation offset from the Transform that the Constraint imposes. To edit these fields, uncheck?Lock.

Freeze Position Axes????????????Check X, Y, or Z to allow the Constraint to control the corresponding position axes. Uncheck an axis to stop the Constraint from controlling it, which allows you to edit, animate, or script it.

Freeze Rotation Axes????????????Check X, Y, or Z to allow the Constraint to control the corresponding rotation axes. Uncheck an axis to stop the Constraint from controlling it, which allows you to edit, animate, or script it.

SourcesThe list of GameObjects that constrain this GameObject. Unity evaluates source GameObjects in the order they appear in this list. This order affects how this Constraint moves and rotates the constrained GameObject. To get the result you want, drag and drop items in this list. Each source has a weight from 0 to 1.


約束-父約束 (Parent Constraints)的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
廉江市| 青铜峡市| 凉山| 辽中县| 山东省| 朔州市| 澎湖县| 甘南县| 东光县| 安徽省| 河南省| 城口县| 财经| 吴桥县| 讷河市| 吐鲁番市| 太原市| 伊春市| 青阳县| 昭苏县| 陆丰市| 桐柏县| 郸城县| 奉化市| 洪泽县| 北票市| 唐海县| 保定市| 关岭| 武陟县| 凉城县| 新疆| 马山县| 古田县| 甘孜县| 都江堰市| 邓州市| 临夏县| 鄂州市| 四子王旗| 葫芦岛市|