Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My camera subject switching makes it so players can see through walls???

Asked by 6 years ago
Edited 6 years ago

I have a simple camera spectate script which just changes the camera subject to a parts position and then when they jump it goes back to the the characters rootpart.

The problem is when the camera comes back to the player, their camera goes through walls, like usually it collides with the walls so if they are inside of a room the camera doesn't leave the room. This glitch allows the players to see through the walls and see the whole map which isnt good.

Anyone know whats going on? or is it a glitch with roblox.

cam.CameraSubject = spectatePart

and then

cam.CameraSubject = character.HumanoidRootPart

thats the only thing i change about the camera object.. since people were asking.

0
What's the script? steven73598233 75 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Please mark this question helpful. also you should show us your spectate script, so i can fix it

Ad

Answer this question