Repository navigation
ARIADNE_WORLDS: water, wading and swimming (OW9, design) - #1545
Merged
Merged
Conversation
Section 18.10. An avatar in water today floats like a cork on the relay (feet 0.28 m under, walking on at 1.38 m/s) and walks on the bed in a client's prediction, which has no water. The design: the room's water in the client's avatar world on the relay's clock; a person's density, so they float head-out; walker@2, wading slower by depth and swimming at a swimmer's pace and cost, diving and climbing out; the swimmer drawn and its controls. Phases OW9a-d.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds the design for avatars in water: new section §18.10 of docs/roadmap/ARIADNE_WORLDS.md, plus an OW9 row in the One World phase table. Docs only.
What happens today
Measured with a throwaway probe (not committed): an avatar walking at 1.4 m/s from dry ground into a pool 3 m deep. The water is set up as
scene_worldmakes a sea.The design
OW9a, the same water on the client. The room's water goes into the client's avatar world, on the relay's clock and replayed by tick, as the boat model's already is. This removes the snap before any new behaviour.
OW9b, a person's density.
avatar_body::density(default 985) and a per-avatar displacement share infield_set, like a wading chassis's. A person floats head-out.OW9c, walker@2. walker@1 stays unchanged. walker@2 has three states, chosen from the water at the body:
move.zdives and surfaces; a stroke up climbs out onto an edge up to 0.6 m high; four times walking's energy cost.The knobs live in the world's
world:block. Nobody drowns: an exhausted swimmer slows to what resting power sustains.OW9d, drawing and controls. The swimmer drawn and its pose, a swim control scheme, and a live check on terrain_lab's sea.
Open questions: