Hello, I’m making a portal gun game but I’m having an issue where going through the portal is not smooth in some cases. Portal transition problems - YouTube . As you can see when the portal is across from each other its looks smooth and clean, but when there at diffrent angles you character does not rotate and you walk out of the portal side ways or another direction. Please help
I’m thinking you could use :SetPrimaryPartCFrame() on hit’s parent.
if hit.Parent:FindFirstChild('Humanoid') then
hit.Parent:SetPrimaryPartCFrame(bluePortal.CFrame * CFrame.Angles(math.rad(bluePortal.Orientation.X), math.rad(bluePortal.Orientation.Y), math.rad(bluePortal.Orientation.Z)) -- sets its PrimaryPartCFrame to bluePortal's orientation
This does not work, in first person you still come out to the side from an angle you can from. It also now clips the player though walls/floors and you get stuck.