mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-30 18:01:39 +00:00
The client tests a box against the property's boundary path and build height: the box around the path's points, raised to maxBuildHeight above its lowest point and with no floor, then the box's centre and bottom corners against the path as a polygon. The server placed a model wherever UpdateModelFromClient said. PropertyBounds is that test, and UpdateModelPosition runs the model's position through it with the path and height DownloadPropertyData sends. The server has no box for a model, so only the position is tested. A refused placement leaves the item in the inventory and is answered with PlaceModelResponse 12, for which the client shows its placement bounds message. Models already on a property are not tested, moved or removed, wherever they stand; a property without a boundary path refuses nothing. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
38 KiB
38 KiB