I would have thought WeldConstraint would cause the object to follow the object its weld to. When I set the parent objects CFrame or position it follows, but its orientation doesn’t??
-- this is inside a Stepped function
entity.Orientation = Vector3.new(0, entity.Orientation.Y + 2, 0)
And so the block (brown block) rotates smoothly, but the grass top (thin green part) stays still
1 Like
Forcoy
(Forcoy)
March 3, 2021, 7:33am
#2
WeldConstraints only work with physics. They don’t respond when the target’s position changes via vectors or CFrame, etc.
How can I get all contents to rotate together??
Cause if I do tweens, it stays connected??
kalabgs
(FartFella)
March 3, 2021, 8:28am
#5
u can update the rotation if they are having the same rotation at the begining
game:GetService("RunService"):Connect(function()
Top.Orientation = Grass.Orientation
end)
thats not good for the performance up there but u got the point
It should work tho… or atleast tweening it should too
kalabgs
(FartFella)
March 3, 2021, 8:31am
#7
when i tween models normaly i just use CFrame for position and orientation by using SetPrimaryPartCFrame() or Model.PrimaryPart