Put goals in the goals #44
Labels
No labels
animation
audio
blocked
bug report
controversial
documentation
easy
feature request
hard
medium
multiplayer
physics
ui
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
elsie/liuverse#44
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two mapped goals, on the campus pitches, plus
leisure=pitchwithsport=socceron 12 ways andsport=soccer;basketballon one.A goal is two posts and a crossbar and it is the only piece of campus furniture
with a scoring rule attached to it. A thrown object that hits the frame scores;
one that misses does not. That is a rule, not a mesh.
Small, but it is the smallest complete game in the campus: walk to a pitch,
press one key, watch where it lands. Pairs with the pitch-colouring issue so the
pitch reads as a pitch.
Related
The goal is already the right shape for a physics engine: a frame, and a rule
about what hit it.
With #112's thrown body, the football is a body with a mass and a
restitution, and the goal is two posts and a crossbar that it can hit. The
rule does not change — an object that hits the frame scores, one that misses
does not — but it stops being a special case of the throw and becomes the
normal consequence of the throw.
The posts are also a wall, and that is the interesting part. A ball that
clips the post and spins out is a different outcome from one that goes in,
and it is the kind of difference the players will actually argue about. A
frame that is a wall rather than a trigger plane gives that for free.
Where the ball lives is the same question the disc asks: the ball is
server-authoritative, so its position travels on the wire, and the goal
itself is static geometry that the collision layer carries.
Related: #110 the physics engine, #112 the shared thrown body.