|
Post by xjirenx on Mar 4, 2021 16:14:59 GMT
hello everyone I have a issue When you try to change scenes in thirdperson mode, does anyone know why the third person cameras remains at the exact position of the previous scene it was in. Also it does not follow the player. Can anyone help me with this issue? My fix was just to swap to first person mode at spawn. So when ever my player enters a new scene in third person mode it swaps to first person mode. The results I want is to remain in third person mode when changing scenes.
|
|
|
Post by axbaby123 on Mar 4, 2021 21:05:49 GMT
Does it work properly when you play the included FPS Add-on 2.5.1 Demo Scenes?
|
|
vsidd
Junior vMember
Posts: 25
|
Post by vsidd on Mar 6, 2021 7:41:13 GMT
Is this compatible with 2.5.6?
|
|
|
Post by axbaby123 on Mar 6, 2021 9:19:34 GMT
I am using Unity 2020.2.7f1 and InVector 2.5.6b I just installed Camera Add-On Package (2.5.1) - <05-05-2020> I then Played FPCameraAddon/FPC_ShooterSet/Scenes/Core/FPC_ShooterSet Demo Scene worked perfectly.
|
|
vsidd
Junior vMember
Posts: 25
|
Post by vsidd on Mar 6, 2021 9:24:32 GMT
I am using Unity 2020.2.6f1 and InVector 2.5.6b I just installed Camera Add-On Package (2.5.1) - <05-05-2020> I then Played FPCameraAddon/FPC_ShooterSet/Scenes/Core/FPC_ShooterSet It worked perfectly. Thanks for letting me know!
|
|
|
Post by xjirenx on Mar 22, 2021 1:34:03 GMT
hello everyone I have a issue When you try to change scenes in thirdperson mode, does anyone know why the third person cameras remains at the exact position of the previous scene it was in. Also it does not follow the player. Can anyone help me with this issue? My fix was just to swap to first person mode at spawn. So when ever my player enters a new scene in third person mode it swaps to first person mode. The results I want is to remain in third person mode when changing scenes. axbaby123 : Does it work properly when you play the included FPS Add-on 2.5.1 Demo Scenes? I still have this issue, and the demo scene you mention only has one scene there is no you can't test what happens if you enter another scene with your character. I'm sure it works fine if you have a player and vGameController spawns you in but if you try to the same character to another scene through vloadlevel. That is when the third person camera have issues, it stay at the exact same place where you left from the past screen while the character is spawn at the spawn position you have set up to. You can fix this by switching camera back to fps and then switching back to third person but it looks bad. Also when in first person camera and you try to access the inventory screen. You cursor disappears and you can't interact with any of the buttons. I've got my third person camera to work but I still have issues with the first person camera with the inventory.
|
|
|
Post by axbaby123 on Mar 24, 2021 16:49:05 GMT
It works on my game when changing scenes. My character with the FPS addon scipt and fpcamera are placed in all my scenes.
The addon should not be conflicting with the inventory but that is an easy fix.
Look on this forum for how to enable the Event Showcursor Lockcursor
|
|
|
Post by xjirenx on Mar 25, 2021 17:04:33 GMT
It works on my game when changing scenes. My character with the FPS addon scipt and fpcamera are placed in all my scenes. The addon should not be conflicting with the inventory but that is an easy fix. Look on this forum for how to enable the Event Showcursor Lockcursor True the FPS camera works fine when changing scenes, the problem I'm having is when I switch back to third person camera and enter another screen. The third person camera seems to disconnect from the player and is stuck in place. Only when I swap camera to fps and then back to tps is when it fix itself. I'll try to add those events to my fps camera and see if it fixes my inventory issue. *Notice you said you place your character with the fps addon script and camera in all your scenes. I have my first scene pull from the prefab and then my character enters a new scene with vloadlevel script which I believe keeps the player from being destroyed and then spawns it via by vloadlevel script.*
|
|
|
Post by axbaby123 on Mar 25, 2021 19:32:22 GMT
Sorry for asking but I assume You are loading the thirdperson camera prefab that is the FPS addon folder and the FPS script settings for your character are using that one. Script should load a TPS camera prefab from a folder and not the hierarchy.
I assume the only camera in your scene is the FPS camera.
I load scenes differently then You .. my bad.
|
|
|
Post by xjirenx on Mar 26, 2021 5:37:24 GMT
Sorry for asking but I assume You are loading the thirdperson camera prefab that is the FPS addon folder and the FPS script settings for your character are using that one. Script should load a TPS camera prefab from a folder and not the hierarchy. I assume the only camera in your scene is the FPS camera. I load scenes differently then You .. my bad. yes I'm loading my TPS camera prefab from that folder. I'm not loading the tps camera from the hierarchy. Your right the only camera I start with is the FPS camera. Anyway around this issue of the TPS camera being disconnected from the player and remains in same spot in the previous scene? I do believe the vFirstPersonCamera or vFirstPersonCameraSwap might be the culprit because before when I only had the original TPS camera from Invector. I don't have that issue with vloadlevel. My work around was to have the script swap the cameras after load which is fine but just doesn't look good if you leave one scene in third person and then enter new scene in first person.
|
|
|
Post by houseplant on May 16, 2021 13:59:20 GMT
When swapping between 1st and 3rd person cameras, the 1st person one always returns to same rotation it was the last time it was used. If i were to look north using the 1st person camera and then swap to 3rd person and turn around to face south, swapping back to 1st person would turn my character 180 degrees back to facing north. Am I missing something? I am using Invector 2.5.6b and Unity 2020.1.16f1
|
|
|
Post by sjmtech on May 16, 2021 15:00:04 GMT
When swapping between 1st and 3rd person cameras, the 1st person one always returns to same rotation it was the last time it was used. If i were to look north using the 1st person camera and then swap to 3rd person and turn around to face south, swapping back to 1st person would turn my character 180 degrees back to facing north. Am I missing something? I am using Invector 2.5.6b and Unity 2020.1.16f1 Hey, check in the "Core" scenes if you can replicate your problem .. I don't see any issue in the LTS 2020.3.8f1. Double check that in your scene there aren't no other cameras exept FpCamera. ThirdCasmera will be instantiated when needed during swap.
|
|
|
Post by houseplant on May 16, 2021 15:30:02 GMT
Hi and thank you for the fast reply! I'm having the same problem in the ShooterSet scene without changing anything. No other cameras in the scene other than the fpcamera. I have attached a video of me demonstrating the problem in a new project with only the controller and the addon installed. When I toggle back to first person the character turns around to face the capsule. streamable.com/mn0f4y
|
|
|
Post by coldice on Jun 5, 2021 16:13:06 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 ?
|
|
|
Post by gryzenaegile on Jun 6, 2021 23:47:04 GMT
Is still addon is stil work it??
|
|