Weather Question

Started by
1 comment, last by CC Ricers 11 years, 1 month ago

I'm working a small demo right now, and its set in the arctic. Now we have it so the player moves slowly as if shes being pushed back a big fan, which is what I want. My question is how do I add the effects I want falling snow, and strong winds

Advertisement

It depends on how in depth you want to go. Since this is a kind of vague question, I'll just throw out some ideas.

You'll want particle effects, obviously. Some white flakes that'll blow from the horizon at the camera. You may also want some cloth physics to blow the player's clothes around. And you could also do a frost effect on the player's screen.

Perception is when one imagination clashes with another

Kind of a hack, but you can alter the gravity of your physics, or use a summed vector of the wind direction and gravity to influence the player's movement. The downside to this is that it does not easily support local variations in the wind, if you want to have wind currents in certain parts of your map.

Similarly, have snow particles react to the gravity. They would be falling regardless of whether the air is calm or not, but of course, also add some air resistance to slow their downfall.

New game in progress: Project SeedWorld

My development blog: Electronic Meteor

This topic is closed to new replies.

Advertisement