So I was working on my game, then I wanted to test it by spawning. when I spawned I was facing the wall instead of the other side, I tried to rotate the SpawnPoint but it didn’t change the direction at all. If there is a solution please do help.
Try a script that sets the direction of the camera and/or character when the character is created.
Something along the lines of
-- local script
local Players = game:GetService("Players")
local function onCharacterAdded(char)
workspace.CurrentCamera.CFrame = --[[ some CFrame that's
facing toward where you want the player to face
(you can use an invisible uncollideable part to set this, instead of
trying to construct a cframe) ]]
workspace.CameraInitPart.CFrame
end
local function onPlayerAdded(player)
player.CharacterAdded:Connect(onCharacterAdded)
if player.Character then -- in case this script runs after the character appears
onCharacterAdded(player.Character)
end
end
Players.PlayerAdded:Connect(onPlayerAdded)