I’m trying to work on a realistic wind system for Roblox that uses the workspace’s GlobalWind property. And I noticed it’s just a Vector3, which makes it a bit confusing trying to script the directions and the strengths. Is there a resource that can help or a module that points my code in the right direction? 1 Vector3 For direction and strength and Pitch it makes it confusing—at least for an intermediate scripter. Thanks
the direction is represented as a vector
which means that if you have any point in 3d space, and then you go x and z blocks sideways, and then y blocks up, then draw a new point there, the direction would be the slope of the line connecting this new point and the original point
the strength of the wind would be direction.Magnitude
(length of the direction vector)
1 Like
Use CFrame.LookAlong()
to make a part look at the direction of the wind.
Use CFrame.LookAt()
to make a part look at a specific position.
These two functions return a new CFrame.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.