The issue I'm having now is with camera. I'm using opsive Third person controller and camera script with AC. I make the camera my main camera and add your main camera script, it works fine. However when I cut to another camera for a cutscene or something, I can't switch back to the main camera as i'm not able to add it.
When I try to add the basic camera script, the camera component turns off the moment I start the game.
The issue I'm having now is with camera. I'm using opsive Third person controller and camera script with AC. I make the camera my main camera and add your main camera script, it works fine. However when I cut to another camera for a cutscene or something, I can't switch back to the main camera as i'm not able to add it.
When I try to add the basic camera script, the camera component turns off the moment I start the game.
Do not add the MainCamera script manually to your own camera. Instead, allow AC to use it's own MainCamera prefab. As explained in Section 4.1 of the Manual, AC's MainCamera attaches itself onto whichever other Camera you make active.
Remove the MainCamera component and add the MainCamera prefab in from /Assets/AdventureCreator/Prefabs/Automatic/MainCamera. Then attach the _Camera component to your custom camera (Section 4.6 of the Manual), and it will be visible to AC's Actions as well as the "Default Camera" field in the Scene Manager.
After some more testing. I followed your instructions and when I press play, I noticed both the Adventure Controller Bridge and Controller handler are turned off when the basic camera script is attached to the camera. The character doesn't even animate.
When I take off the basic camera script, it seems to work fine.
Comments
Ignore the first post. I've solved my problem.
Ignore the first post. I've solved my problem.
Remove the MainCamera component and add the MainCamera prefab in from /Assets/AdventureCreator/Prefabs/Automatic/MainCamera. Then attach the _Camera component to your custom camera (Section 4.6 of the Manual), and it will be visible to AC's Actions as well as the "Default Camera" field in the Scene Manager.