dudov
New vMember
Posts: 1
|
Post by dudov on May 6, 2017 10:09:38 GMT
How to make a starting weapon installed in the weapon selection cells automatically without having to use the selection manually? I want the weapon to be selected right after the start. Without the need to press "I" and choose weapons there.
|
|
|
Post by Invector on May 6, 2017 14:44:42 GMT
this feature will be available on the next update, you will be able to simple drag and drop the weapon prefab into the character hand and it will automatically detect as a weapon.
|
|
|
Post by Invector on May 9, 2017 0:15:50 GMT
It is actually pretty simple, just add this in the Start of the ShooterManager if (animator) { var _rightHand = animator.GetBoneTransform(HumanBodyBones.RightHand); var weapon = _rightHand.GetComponentInChildren<vShooterWeapon>(); SetRightWeapon(weapon.gameObject); }
|
|