An attempt at water physics. It only works for an infinite plane, but I could do a cube or sphere instead, if I wanted (I’m not much for math, and I’m not sure how to work with complex shapes)

note how you can set the “floatiness” of an object- negative numbers =sinks (large positive numbers approaching and greater than -9.8 are glitchy at the surface of the water)


Hey, not bad, not bad at all!

nice, my only complaint would be that gravity has to be 0.

the other reason I made gravity be zero is it would be easier to implement a gravity-gun type thing and mess with gravity in ways Prey does (floors with reversed gravity, etc) if each object had their own gravity

Thank, better tutorial.