I’m making a rail segment for a cart ride, and whenever a cart goes on it, it boosts the cart in the direction of where the front face of the rail is facing. But, whenever I rotate it in studio, it doesn’t change direction, and still faces the same way as the original rotation.
local vforce = Instance.new("VectorForce",part.Parent.Parent.PrimaryPart)
vforce.Attachment0 = part.Parent.Parent.PrimaryPart.Attachment
vforce.Force = v["Track-Long"].Beam.CFrame.LookVector * 50000
game.Debris:AddItem(vforce,.3)
The track is facing the correct way