I had an AlignOrienation inside a part. It worked as intended around yesterday. I published the changes to my game today, without restarting studio, and I realized the responsiveness did not allow the part to be moved to its intended orientation in-game. It felt impossible to debug because it worked completely normally in studio.
When I restarted studio, the bug occurred and did not orientate to the correct orientation with a low responsiveness.
I am positive that restarting studio caused the issue which makes me assume something has been changed with AlignOrientation.
I’m assuming something was changed? If so, what was it? Has anyone else experienced this?
Have you closed out of Studio and reopened it yet to see if it was a momentary glitch on your end?
If that doesn’t fix it maybe Uninstalling and reinstalling Studio.
Also this isn’t really a scripting support issue.
Yes. I published it to my live game and it occurs there. After I published, I noticed the bug in-game but it did not occur in studio. I spent an hour trying to figure it out. Then I restarted studio, and it happened in studio afterwards.
I was in a team create and the bug did not occur for my friend until he restarted studio also.
root.AlignOrientation.MaxTorque = 5000
root.AlignOrientation.Responsiveness = 40
if Vector3.new(player.Character.HumanoidRootPart.Velocity.X,0,player.Character.HumanoidRootPart.Velocity.Z).Magnitude<0.3 and (alignPosition.Position - root.Position).Magnitude < 1.5 then
root.AlignOrientation.CFrame = player.Character.HumanoidRootPart.CFrame
else
root.AlignOrientation.CFrame = CFrame.lookAt(root.Position, Vector3.new(MoveToLocation.X, root.Position.Y, MoveToLocation.Z))
end
I have restarted studio several times since. Above is the part of code that I’m referring to.
It feels like they may have changed the responsiveness property. If I increase the responsiveness, the part orientates to the correct orientation. Otherwise, it just points in a direction that makes 0 sense.
I did not change any physical properties. In fact, I basically changed nothing from the game when I published.
I tried increasing the Incoming Replication Lag in studio and decreasing it. It does not change my issue. I also searched through announcements and didn’t find anything about this.
Network Ownership of this part is set to the client from the server.
I am now 100% positive that they changed something with AlignOrientation that broke my game.
I booted up several old saves of the game that worked as intended. They now have the same bug of the part spinning around / looking in the wrong direction.
Can confirm I’ve also experience a sudden game breaking behaviour in relation to AlignOrientation. For me this issue has arisen in the last 3 hours or so.
Also had another game breaking bug occur with PrismaticConstraints during the same time. I’m thinking these must somehow be related as this also involves having a low Responsiveness
My game is broken also, with serious problems in the AlignOrientation used to control the rate of turning. It was working fine yesterday. I would have appreciated some sort of announcement or warning that physics is going to be completely different after this update! /cc @KnightGaladeld@Focia19