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

How can I make my body gyro face the right way?

Asked by
yellp1 193
6 years ago
Edited 6 years ago

I currently have a script that will help a player walk around a sphere but I am having trouble making it so that the face of the part doesn't look at the sphere, but instead, the bottom does. How would I do this?

--Part 1 is the sphere
--Part 2 is the part that will be look at part 1

BodyGyro.CFrame = CFrame.new(Part2.CFrame.Position, Part2.CFrame.upVector * 10 +Part1.CFrame.Position)
1
Body movers don't _need_ scripts to be used. This isn't really a scripting question. Also, for future questions, I'd recommend adding a script of your own that you've tried to make. That way, more people are willing to help you. EzraNehemiah_TF2 3552 — 6y
0
this on does yellp1 193 — 6y
0
I am making a player that can walk around a sphere. In order to do that, I need to rotate the player with the rotation of the sphere yellp1 193 — 6y

Answer this question