Strange behaviour regarding welding seat

I have a seat that is welded to this Cube. The Cube has a BodyGyro, which means that it should only be staying in one rotation. However, when I go and sit on this rotated cube [it’s rotated 90 degrees left], it snaps to 0 degrees before eventually returning to 90. Why is this?

local seat = Instance.new("Seat")
			seat.CanCollide = false
			seat.CanQuery = false
			seat.CanTouch = true
			seat.Massless = true
			seat.Name = "MovableRidableApplied"
			seat.Parent = child
			seat.Transparency = 1
			seat.Size = child.Size
			seat.CFrame = child.CFrame
			seat.Orientation = child.Orientation
			local weld = Instance.new("WeldConstraint")
			weld.Parent = seat
			weld.Part0 = child
			weld.Part1 = seat

Thank you for something to test with.. always helps.

That is a stubborn little cube isn’t it, try this.
It will work when you sit down. I’m not sure after that, if you plan on this moving.

--ServerScript in ServerScriptService
local cube = workspace.Cube
local seat = cube.MovableRidableApplied
local gyro = cube.CubeGyro

gyro.MaxTorque = Vector3.new(math.huge, 0, math.huge)
gyro.P = 1e6
gyro.D = 1e5

local function lockRotation()
	local look = cube.CFrame.LookVector
	gyro.CFrame = CFrame.new(cube.Position, cube.Position + look)
end

seat:GetPropertyChangedSignal("Occupant"):Connect(function()
	if seat.Occupant then
		lockRotation()
	end
end)

I’ve actually ran into this before and never did come up with a solid fix. Clearly something going on here I don’t totally understand.

doesn’t seem to work
that disables sitting on the seat entirely, and reenabling it brings back the problem

…same problem thats what i was saying
no matter how i position it or weld it, no matter how many properties or classes i change, the seat or vehicleseat will still suddenly snap to your orientation when you sit on it

here’s a .rbxm file if you wanna reproduce the issue

cub.rbxm (7.7 KB)

You should try changing the orientation of the seat, maybe that will do something

its already set to the orientation of the cube, but i’ll see if setting it to the default orientation fixes it

just tried NOT setting it [it was already setting orientation, see code block] and that didn’t work either

i suggest looking at the attached rbxm above your reply to experiment w/ it

Isn’t orientation a read only property?

Sorry, I didn’t see the upload. This isn’t wrong; it’s too good. The movement starts as soon as you sit, and the camera takes a little bit to get in place. That is the movement you’re seeing from the cube.

its half right yeah but after analyzing the server it seems to break a little server-side. i’ll test on a real in-game environment in a minute

the issue is that, this replication goes to the server too
meaning that the seat glitches

compared to another game:

idk what im doing wrong