Open HarryBurge opened 2 years ago
Will need to put changes into unity move, and also make data accessible in drone move. Turbines turn off over certain wind speed
So we need a way of creating a mesh of weights that can be referenced to get wind in a given area Current Idea:
I have now added perlin noise which can be referenced to get a wind direction and magnitude as a 2D vector The fn takes a drones x and z position scales it to a certain size and uses local values to calculate the wind direction
I have created a script to access this which can be added to objects and which when called displays a ray in the scene in the direction of wind at that position. Does not effect drone angle yet Potentially needs altering to change to take an average of recent wind options, rather than polling close points.
Add wind into the simulation