|
Post by Chronicman on Aug 10, 2016 22:07:38 GMT
Hello I'm getting a error while trying to pick up item. The handlers are spelled correctly and the current weapon I have equipped is giving me the same error. I did equip it manually via the editor before. Here is the error.
ectableMelee.cs:52) vMeleeManager.DropLeftWeapon () (at Assets/Invector-3rdPersonController/Scripts/MeleeCombat/vMeleeManager.cs:479) Invector.CharacterController.vThirdPersonController.DropWeaponInput (System.String _input) (at Assets/Invector-3rdPersonController/Scripts/CharacterController/vThirdPersonController.cs:728) Invector.CharacterController.vThirdPersonController.InputHandle () (at Assets/Invector-3rdPersonController/Scripts/CharacterController/vThirdPersonController.cs:74) Invector.CharacterController.vThirdPersonController.LateUpdate () (at Assets/Invector-3rdPersonController/Scripts/CharacterController/vThirdPersonController.cs:52)
|
|
|
Post by Invector on Aug 11, 2016 13:45:12 GMT
Yeah... no idea what's going on over there , did you modify something on the Controller script?
|
|
|
Post by chronoicman on Aug 11, 2016 15:07:34 GMT
Yes I have made minor modifications. Example : on awake it sends the class to a static script so I can reference it from any other class. Other then stuff like this I have made no other modifications. void Awake() { StaticPlayer.iChar = GetComponent<vCharacter> ();//Added this line Debug.Log(StaticPlayer.iChar); StartCoroutine("UpdateRaycast"); // limit raycasts calls for better performance }
|
|
|
Post by Invector on Aug 11, 2016 18:33:43 GMT
Still no idea what could be... Try check your Input Manager to see if the D-pad exists, and check your methods PickUpMeleeWeaponInput and DropWeaponInput
|
|