Hi.

So I'm making a script that will generate foliage on a sphere terrain, and I'm making it face the ground using CFrame.new(Vector3 pos, Vector3 lookat). However, the foliage, a meshpart, will rotate to the side when I use that command. Here is an example image.

And the code:

workspace.GrassPatch2.CFrame = CFrame.new(workspace.GrassPatch2.Position,workspace.PlanetaryGravityB.Moon.Position)

So is there a way I can rotate it to make it face upright again?

Any comments/answers will help. ~SkeletalReality