Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Make part face player with bottom surface not front surface?

Asked by 4 years ago

So i have this meshpart and i want it to face the player but it faces the player on the front surface and it make's the mesh part look like it's pointing down?

model.part.CFrame = CFrame.new(model.part.Position,torso.Position)
-- My code i use to turn the meshpart

Is it impossible to make the part face the player from the bottom surface?

I want a negative -lookvector impossible?

1 answer

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

You would need to rotate it after:

model.part.CFrame = CFrame.new(model.part.Position,torso.Position)*CFrame.Angles(X,Y,Z)

replace X,Y,Z with values of your choice

Ad

Answer this question