Repository navigation
Conversation
Collaborator
Author
|
Shipped in 1.2.1 (#349, release v1.2.1). |
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.
What this changes
A server wanted a quiet circle on the ground where a player presses E. A cylinder is at least 0.25 m tall and draws as an open wall, and none of the game's decals is a ring; the workaround sank a cylinder into the ground.
shape: 'ring': a flat band lying on the ground (lifted as a plane is),sizeacross, its bandwidthwide (new option and property, 0.01 to 32 m, default 0.1; a band wider than the ring fills the disc). Its trigger volume is a decal's (2 m up).heightfield: no wire change.Marker.placeoptions,Marker.shape, newMarker.width(since 1.2.1); C# SDK regenerated.How it was tested
markers.test.cjs: new test, a ring sends its width, clamps it and defaults to 0.1; 19 pass.runtime.marker_shapes(markers/tests/marker_shapes_test.cpp): the ring's mesh is flat over the ground, outer edge at half the size, inner edge the band width in, a full disc without an inner outline; passed with clang 19 (-Wall -Wextra -Wpedantic -Werror).Checklist
python Dev/tools/format_source.py --checkpasses.