In this image you can see a tower, and in the model there are multiple meshes, I know how to script it to aim at a closest player but the problem is, is this:
Is it possible only to weld them or what should I do?
In this image you can see a tower, and in the model there are multiple meshes, I know how to script it to aim at a closest player but the problem is, is this:
You have to show us the script you are using. Manually rotating one Part in studio doesn’t really tell us anything.
How are you planning on rotating the turret? You can use CFraming, Tweening, or Constraints.
If you Tween the turret (probably your best bet, it’s smooth and doesn’t involve physics) you need to Anchor the main Part and make the Parts you weld to it Anchored false.
I’m pretty sure there are lots of posts about aiming turrets here if you use the Search bar up top.
You should use a Weld Constraint to weld all of the meshes so that way it rotates as one instead of separately.
Cant You Just Create A Base Part For The Turret And Make The Parts That Gonna Aim UnAnchored And Welded To The Base Part So The Base Part Aim And The Others Follow?
NOTE:The Base Part Need To Be Anchored.
Yeah I grouped all the parts i want to rotate in a model, set the primary part to the largest cube, used weld constraint and then rotated then used runservice to make it lookat a part which moved around… It worked.