Yeah but i doubt that such a large volume can ever go to sleep since there will always be some forces acting on something.
What about doing a realtime water stream/bucket dumping simulation in mythruna, with balls and a mesh that tries to fit the balls’ locations best? That would be dope. And possibly bring tons of lag.
Well, in theory they could eventually settle but elasticity in the math sometimes prevents it as the outside becomes cool enough to create a sort of border. Still, it’s funny how sometimes dropping a big bomb in the middle can cause every thing to cool down. Sometimes it’s just fun to see where I’d have to relieve pressure.
The plan is to use some number of balls to find out where the water would go and then simulate that with more static structures (like the waterfalls I’ve posted before). Or just to find the paths of the rivers and help guide erosion to make the river beds and so on. Figure where you want a water source, simulate a hundred dropped water balls and watch where they go. Lower terrain, repeat a few times.
And by the way, the fact that the whole simulation doesn’t explode and send objects into NaN-land is also very encouraging. The velocity limits must be working.
This is really cool pspeed. Regarding the demo - is there a way I can limit the framerate? I have 3k fps on startup, vsync isn’t having any effect and I basically can’t see any of the physics lol, it happens almost instantly.
It’s just a demo so I didn’t do anything fancy and I use fixed time steps because that’s what my game will do… so if you can’t either limit the refresh or turn on vsync then I’m afraid you are out of luck for now. Sorry.
Though, seriously you should figure out why vsync doesn’t work because that’s kind of a big problem to me.
Yeah, alright… so it’s because of the perfect setup. In the real game it would be pretty impossible to have objects so perfectly balanced. Cool trick, though.
Like pretty impossible meaning there are no round things in Mythruna anyway, so getting something to balance on a point like that is not possible… let alone the dexterity it would require to place the objects on top of each other so perfectly that their x,z coordinates match exactly, rotation exact, etc… else it’s a really small possibility (like winning the lottery small) that moving the lower object wouldn’t disturb the upper one… since they are probably already interpenetrating slightly anyway.
Only the spheres can be so perfect.
And at any rate, there will be other ways to get the physics to do strange things, I’m sure. Even in Skyrim I’ve seen the physics do some totally ridiculous bonkers stuff… I love it every time. Makes me feel better.
I really like it so far. Well done.
I noticed you start with a quite expressive background music … maybe you could try to start a little calmer and suddenly you start with a fight scene and that is where the expressive music should come into play. I am not sure if this is better but when you have got time I would be really interested in the result. Maybe it is worth it to try it out
Greetings Domenic