this works! (mostly)
but it feels very, hardcoded, and I'll have to keep adding exception after exception. and the way it handles frictionless objects is, messy as heck
but it feels very, hardcoded, and I'll have to keep adding exception after exception. and the way it handles frictionless objects is, messy as heck
I'm also struggling to put up a nice, flow, for detecting and executing separate sets of physics actions, ie, I don't have a SimulatePhysics() function, it's all, calculate the final position things will be in, then check if anything needs to fall, and that's it
and just to be clear - I'm not looking for collision detection/collider intersection tests!
that's the easy part of what I'm doing, since it's all grid based
that's the easy part of what I'm doing, since it's all grid based
I appreciate it but yall are linking *way* too complex things, haha
I'm sitting here with a bucket trying to build a sand castle, trying to figure out whether to put the sand in the bucket before or after plopping it upside down
I'm sitting here with a bucket trying to build a sand castle, trying to figure out whether to put the sand in the bucket before or after plopping it upside down
my use case is super simple, I literally just need to resolve forces and whatnot for completely grid based movement
units can't be between grid units, they're always on grid (visual animation aside), so movement is discrete, no linear algebra/integration needed
units can't be between grid units, they're always on grid (visual animation aside), so movement is discrete, no linear algebra/integration needed
I guess the fact that it's discrete makes it so that I need a custom loop/force resolution flow anyway, I'll see what I can figure out. I also need to define my problem space a little better
I regret using the phrase "physics engine" and most people don't read the full thread so rip me 😔
idk what else to call it ;-;
if I call it a cellular automation then people will link videos about slime mold and conways game of life
if I call it a cellular automation then people will link videos about slime mold and conways game of life
for context:
🟥 normal box (mass = 1)
🟦 frictionless box (mass = 1)
🟩 light box (mass = 0)
🟥 normal box (mass = 1)
🟦 frictionless box (mass = 1)
🟩 light box (mass = 0)
this seems like it should be so simple, I feel stupid for taking so long to wrap my head around this ;-;
Loading suggestions...