Post news RSS Leaf Physics (October 23, 2020)

Leaves were already in the game for fall scenes, and they already had some physics written for them. Previously it was just accounting for player proximity and velocity, which blew away leaves close to the player when she was running around. And this was good enough for non-combat levels.

Posted by on

29 1

Leaf Physics
Imgur.com

"More fun with compute shaders!

Leaves were already in the game for fall scenes, and they already had some physics written for them. Previously it was just accounting for player proximity and velocity, which blew away leaves close to the player when she was running around. And this was good enough for non-combat levels.

But for combat levels? NOT GOOD ENOUGH. Some enemies can throw bombs, and it was weird to see leaves not reacting at all when bombs were thrown. So I took some time today to add that function, and it feels much better now. Not sure it looks realistic, but it feels pretty good? Maybe leaf velocity should be randomized a bit so leaves don’t get blown away in a uniform manner." (c) Sean, the Wonhon: A Vengeful Spirit developer.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.