GithubHelp home page GithubHelp logo

vertexsnap's Introduction

VertexSnap v0.1

This is a Godot 3.2 plugin that assists in 3D Level Design.

It's current features are:

  • Match Object's:
    • Rotation
    • Scale
    • X, Y and Z positions independently
  • Snap object's together by a vertex

How to Use

Plugin only operates on selected object. Reason is to not traverse entire scene tree if it can be avoided.

Select the source object to match with

Hover Near Mesh Instance Vertex + RMB + Shift

Transform Object to Source Object

Hover Near Mesh Instance Vertex + RMB + Control

Highly Detailed Meshes

In some cases it might be difficult to lock in a the correct vertex. For these cases you might want to provide a helper node to provide a visual cue to where the vertex you want is located. To add this visual cue to your mesh simply:

Hover Near Mesh Instance Vertex + MMB + Shift

The Dock Window

The dock window for this tool provides options for how you wish to transform your object in relation to the source object. This window will allow you to match scale, rotation or even X,Y,Z coordinates independently. So, you can easily align objects in line if you wish.

Finally, the last option is to snap the vertexes together. Source object never transforms, only the object where you apply the Ctrl + RMB interaction will transform.

Make sure that you have selected how you wish to transform your object first by adjusting the dock window settings.

Known Issues

  • Scaling normalization is not performed on collider shapes. My recommendation is to make sure that all your subscenes that you wish to snap together are already correctly scaled. Use scaling at your own risk.
  • Not yet tested with deep sub scene hieracrchies. Transforms are performed at the node owner levels.
  • Only works with MeshInstances (or MeshInstances found in sub scenes).
  • Currently no undo system in place.
  • No visual highlighting of the source object selected vertex.

vertexsnap's People

Contributors

remorse107 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.