You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While its not currently an issue with multiplayer implementation where changing character controllers (changing from playable character to spectator character on death) causes the "Only one PhantomCameraHost can exist in a scene
Multiple PhantomCameraHosts will be supported in #26" error to occur. While I did see the links contents I'm wondering if there is a work around for switching character controllers while not encountering this issue while waiting for that update the time being. (since only one cam controller should be active anyhow.)
Steps to reproduce
Use Untrue plugin
Slot working character with controls and camera built in
use Game.get_gamemode().player_character_scene = [call to spectator scene] to swap character controller with different one via a trigger (in this case when player hp reaches 0)
Error occurs. WASD and jumping still works but camera becomes a fixed pov. Moving the mouse still causes input direction to change like you can still look around however
(Optional) Minimal reproduction project
I'm new to coding so I'm not sure what I can pull out and the issue will still be replicable. If you can't replicate the error above though I can upload the full project on request.
The text was updated successfully, but these errors were encountered:
Think the solution you're looking for depends on how you've set up your scene.
You mention multiplayer, and to paraphrase what you've said just to make sure I understand it correctly, is your goal to you switch between 2 cameras. One for when the player is alive to another upon reaching 0 hp?
Issue description
While its not currently an issue with multiplayer implementation where changing character controllers (changing from playable character to spectator character on death) causes the "Only one PhantomCameraHost can exist in a scene
Multiple PhantomCameraHosts will be supported in #26" error to occur. While I did see the links contents I'm wondering if there is a work around for switching character controllers while not encountering this issue while waiting for that update the time being. (since only one cam controller should be active anyhow.)
Steps to reproduce
(Optional) Minimal reproduction project
I'm new to coding so I'm not sure what I can pull out and the issue will still be replicable. If you can't replicate the error above though I can upload the full project on request.
The text was updated successfully, but these errors were encountered: