decentraland / decentraland/creator-hub

Item Snapping

Open
#1,155 0 comments 0 reactions 0 assignees View on GitHub
2-medium editor Quality Of Life
Dominant language
TypeScript
Stars
7
Forks
14
Avg merge
2d 8h
Merged PRs (30d)
44

Description

## 1. Item Snapping

Introduce intuitive snapping behaviors. These behaviors should be:

- Visually hinted (outline / highlight)
- Predictable
- Temporarily disabled with a modifier key

### **Elevation Snapping**

- Items can snap vertically to colliders of other items, aligning over the top surface of the bounding box
- Useful for stacking props or placing objects on tables, platforms, etc.

Manipulating Decentraland assets in the Roblox editor

https://github.com/user-attachments/assets/e17e8c22-d040-4aa7-8bc3-ed4a257e8fae

Roblox uses the bounding box of each model for this. This approach assumes that the bounding box maps to the object’s true dimensions. It needs to be easy to toggle on or off for cases when the bounding box is not accurate.

For example, a car’s bounding box is a large rectangle as high as the car’s roof. If I want to place something sitting over the trunk of the car, I will have to ignore that bounding box.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.