|
Post by Devistute on Jun 19, 2021 17:50:40 GMT
Hi, i am always getting this error if i try to shot with the handgun: NullReferenceException: Object reference not set to an instance of an object Invector.vCharacterController.vShooterMeleeInput.CheckAimConditions () (at Assets/Invector-3rdPersonController/Shooter/Scripts/Shooter/vShooterMeleeInput.cs:1441) Invector.vCharacterController.vShooterMeleeInput.UpdateAimBehaviour () (at Assets/Invector-3rdPersonController/Shooter/Scripts/Shooter/vShooterMeleeInput.cs:1159) Invector.vCharacterController.vShooterMeleeInput.LateUpdate () (at Assets/Invector-3rdPersonController/Shooter/Scripts/Shooter/vShooterMeleeInput.cs:256) I get this only in fps mode. If i switch to tps camera it works fine. It works fine in both modes too with Unity 2019 but not with Unity 2020.3. Some ideas ? I fixed this by leaving "vThirdPersonCamera" in the Player character to where it is, and just disabling "vThirdPersonCamera"script when the Scene starts. * I used playMaker to disable the Script, but there's tons of examples how to disable behaviour after certain time.
|
|
|
Post by Frosted Brain on Aug 12, 2021 3:56:09 GMT
How can I teleport between scenes? I am using the FP camera addon so I want that to come with me
The "V load level" script on the invector teleport prefab doesnt bring the FP camera with me
|
|
|
Post by sjmtech on Aug 13, 2021 14:26:24 GMT
Hey Frosted Brain , try adding private void Awake()
{
DontDestroyOnLoad(this.gameObject);
} to Assets/FPCameraAddon/Scripts/Utils/vFPCameraRoot.cs It should work !
|
|
|
Post by lelbaro on Aug 13, 2021 17:14:18 GMT
Hi, i am always getting this error if i try to shot with the handgun: NullReferenceException: Object reference not set to an instance of an object Invector.vCharacterController.vShooterMeleeInput.CheckAimConditions () (at Assets/Invector-3rdPersonController/Shooter/Scripts/Shooter/vShooterMeleeInput.cs:1441) Invector.vCharacterController.vShooterMeleeInput.UpdateAimBehaviour () (at Assets/Invector-3rdPersonController/Shooter/Scripts/Shooter/vShooterMeleeInput.cs:1159) Invector.vCharacterController.vShooterMeleeInput.LateUpdate () (at Assets/Invector-3rdPersonController/Shooter/Scripts/Shooter/vShooterMeleeInput.cs:256) I get this only in fps mode. If i switch to tps camera it works fine. It works fine in both modes too with Unity 2019 but not with Unity 2020.3. Some ideas ? I fixed this by leaving "vThirdPersonCamera" in the Player character to where it is, and just disabling "vThirdPersonCamera"script when the Scene starts. * I used playMaker to disable the Script, but there's tons of examples how to disable behaviour after certain time.How did you disabled the script with playmaker?
|
|
|
Post by Frosted Brain on Aug 14, 2021 3:16:09 GMT
Hey Frosted Brain , try adding private void Awake()
{
DontDestroyOnLoad(this.gameObject);
} to Assets/FPCameraAddon/Scripts/Utils/vFPCameraRoot.cs It should work ! That worked, however it created a clone of my player when I came back into the original scene through the teleporter. Is it only meant to go one way?
|
|
|
Post by sjmtech on Aug 14, 2021 7:15:18 GMT
Yes, this is normal behavior. You have to remove the player from the starting scene and use the Invector vGameController component to spawn the player at runtime.
|
|
|
Post by kemuno on Sept 12, 2021 10:02:35 GMT
Hi Thanks for making this Add-on I want to use Free Simple Vehicle Add-on, but it doesn't seem to work properly I tried your previous solution but it still did not work Can you find a solution to this problem? And forgive me for my bad English
|
|
bloo
New vMember
Posts: 4
|
Post by bloo on Sept 25, 2021 3:49:14 GMT
No longer works with Invector Shooter after the 2.6.0 update. Looks like an instantiate issue with the AimCanvas not being in the resource folder anymore.
Works fine with Basic and Melee controllers though.
|
|
|
Post by sjmtech on Sept 25, 2021 9:07:16 GMT
Yes guys ... the shooter template is the hardest part of the integration. I hope to find some time to take a look at the new version 2.6.0.
|
|
|
Post by xjirenx on Oct 12, 2021 19:02:40 GMT
Anyone know how to handle respawn with the FPS add-on?
|
|
|
Post by gryzenaegile on Nov 2, 2021 15:06:20 GMT
Yes guys ... the shooter template is the hardest part of the integration. I hope to find some time to take a look at the new version 2.6.0. Bro, If u make the purchaseable addon with this thing, I make sure to buy it. Cause that first person camera addon is so cool bro, ngl
|
|
|
Post by delereos on Nov 27, 2021 23:01:40 GMT
I apologize if this has been asked and/or answered already, but: is there a way to constrain the horizontal viewing angle like the vertical? That is, the head and camera can't exceed (for example) -90 or 90 degrees and any rotation past that point wouldn't be allowed for the camera OR the body: nothing turns.
|
|
|
Post by sjmtech on Nov 30, 2021 10:03:50 GMT
Hey, yes, it is a built-in function used during actions (ladder, climb ...) you need to call the public void isAction (true) to enable state "action" and clamp the rotation of the head (in the inspector "Action H Angle Limit "e (Action Down Angle Limit")
|
|
|
Post by Devistute on Dec 8, 2021 15:21:57 GMT
I fixed this by leaving "vThirdPersonCamera" in the Player character to where it is, and just disabling "vThirdPersonCamera"script when the Scene starts. * I used playMaker to disable the Script, but there's tons of examples how to disable behaviour after certain time.How did you disabled the script with playmaker?
"Disable Behaviour". Simple as that, but as there is fix already out you can choose which one to use ;)
|
|
|
Post by settrigger on Dec 14, 2021 8:55:08 GMT
Hi the download link in the first page is not working.
|
|