Okay I have scripted myself into one of those "crumple it up, throw it at someone, grab the wad of paper, tear it up, set it on fire" kind of places. I feel like I've been banging my head against this problem forever.. and having deleted everything in frustration, I'm starting over fresh and asking for help.
I've got this pool I'm making. and it's cool. it's a cool pool as they say. But the water is prim water. (which means all the ususal specialty huds needed and such) ANyways.. don't really want to get into all that now.. though it is a truly cool system.
Anyways, I've been sitting here trying to make a pool floaty. my hope is that it would be physical, and free-moving in X and Y. bumpable, driftable, etc. That's pretty easy on a solid surface like grass.
I've played with setting zero gravity.. that works pretty well.. but it starts rotating on X and Y axises.. well that's easily solved with a llRotLookAt or something (I managed it, it worked great at keeping it upright.
ANYWAYS... here's the issue.
it's bumpable up and down. Someone swims up from under, and it floats into the sky.. someone jumps on it from above, and it sinks.
I've had a friend hammer on the problem in world.. and he's also at the "walking away and not discussing it with you any more" space.
My original thought was that it would wait for "touch"... then it could record it's z position. But I just can't figure out how to attract to the point on the z axis, without canceling out the x/y movement in the same command.
