|
Post by makebusy on Mar 2, 2017 4:17:14 GMT
This must be a variable that only exist in the extended version, it cannot be found in the free version of vThirdPersonInput.
|
|
|
Post by jakemenzies on Jun 24, 2019 15:43:28 GMT
Sorry, the lockMovement is actually being used with the Animator at runtime so you need to use the canInput from the vThirdPersonInput (change the protected to public) and call like this: using UnityEngine; using System.Collections; using Invector.CharacterController;
public class vLockPlayer : MonoBehaviour { public vThirdPersonInput cc;
private void OnTriggerEnter(Collider other) { if(other.gameObject.tag.Equals("Player")) { cc = other.gameObject.GetComponent<vThirdPersonInput>(); cc.canInput = false; } } }
|
|
|
Post by jakemenzies on Jun 24, 2019 15:44:36 GMT
Where do i find the "CanInput" bool
is this only avaialable with the paid version?
|
|
|
Post by Invector on Jun 24, 2019 16:07:06 GMT
The free version has a "LockMovement" bool, you can see it in the inspector
|
|