idk why; but it is supposed to make partA look at partB but it instead teleports to partan
workspace.partA.Position = workspace.partB.Position
idk why; but it is supposed to make partA look at partB but it instead teleports to partan
workspace.partA.Position = workspace.partB.Position
what ur doing is setting the position of part a to the position of part b (in case u didnt know), effectively teleporting partA to partB. if u want part a to look at part b, i recommend u use CFrames, like dis:
workspace.partA.CFrame = CFrame.new(workspace.partA.Position, workspace.partB.Position)
CFrames are very good for this sort of thing, as CFrame can make set the part's orientation by making the part "look" at a certain something.
idk why i cant accept ur answer i'm trying to
xd maybe cus u have no rep
its ok i dont really need that u accept
can u give me an upvote or something; maybe it's that, and u deserve the reputation
i had to change my ip just to accept answer wow
xd
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
nice one
ur an expert; can u help me
can u post an answer plz
i done boi