Skip to content

3D assets lose surface placement when Ctrl snapping is enabled during drag-and-drop #122552

Description

@Bat-Computer

Tested versions

Reproducable in v4.7.stable.official [5b4e0cb]

System information

Window 11, Godot v4.7.stable.official [5b4e0cb]

Issue description

Godot has a feature for placing models on a sufrace when there is a collision shape on the model.
However this feature appears to be dissabled when dragging a model and temporarily pressing CTRL to snap your movment.

Steps to reproduce

  1. Create a 3D scene.
  2. Add a CSGBox3D and enable collision.
  3. Drag a GLB/FBX model from Godot's FileSystem dock into the 3D viewport.
  4. Move the cursor over the CSGBox3D — the model correctly sits on its surface.
  5. While still dragging, hold CTRL to temporarily enable snapping.
  6. The model immediately loses its surface-placement offset and sinks partly into the surface.
  7. Release Ctrl and surface placement works correctly again.

Minimal reproduction project (MRP)

snap-floor-bug.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions