GetMoonDirection (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26
No edit summary
>Legend26
No edit summary
(No difference)

Revision as of 02:01, 25 January 2012

GetMoonDirection( )
Returns Vector3 lookVector
Description: It returns the lookVector of the moon. If this lookVector were used in a CFrame, the BasePart would face the moon.
Member of: Lighting


print( game.Lighting:GetMoonDirection() )

Would print '0.619343221, 0.357578009, 0.698964953' if the TimeOfDay is set to 14:00:00.