So I was messing around with CFrames and this happened

robloxapp-20210323-1809225.wmv (2.6 MB)

For some reason if the part has the same position as the head the head teleports straight down into the point of no return, So if I use the look at property of CFrame do I need to have bool to check if the two positions are the same so it doesn’t do this?

Do you wanna show some code here so we can look at it without opening any files

game.Workspace.Head.CFrame = CFrame.new(game.Workspace.Head.Position, game.Workspace.Part.Position)

Right so, I am pretty sure if the lookAts position is the same as the first position, the result will be nan, which teleports things extremely far away. You will need a check, yes.

1 Like