I am working on my mod Warium Tactics, which adds onto WariumVS and Warium. One of the things I want to make, is a remote camera block. The block allows the player to link a camera to a keycard, and activate the keycard while seated to look around in a fixed direction, while never being removed from their seat.
This works fine when the camera and seat are on the ground, or when the camera is part of a ship, and the seat is on the ground. However, this falls apart when the player is seated on a ship and tries to access the camera on the ground, or camera on a ship.
The main way I’m achieving this right now, is creating an invisible camera entity that spawns where the camera block is when the player uses the keycard while seated. The player’s POV goes to the invisible entity and lets the player see from that point.
I am having trouble fixing this issue when the player is seated on a ship and tries to use the keycard to see through a linked camera.
You guys have helped me out immensely before, so hopefully you guys can help me out with this problem here. I’ve attached a video demonstrating the video. I can share any files from my project to help out as well.