Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Manually editing the pivot point inside Unity editor

Discussion in 'Immediate Mode GUI (IMGUI)' started by alexanderameye, Jul 30, 2016.

  1. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,383
    Hey,

    modifying the position of the pivot point is not something you can easily do inside Unity.

    Though, the user 'VoxelBoy' created a handy tool to do exactly this, inside the editor with some simple sliders. I modified the script a bit, but the issue remains that it doesn't work when the object of which you are trying to modify the pivot point, is rotated, I lack the knowledge for now to succeed in fixing this.. I was wondering if someone would be interested enough to tackle this problem. thanks!

    for the script to work, you just select an object, and open the 'PivotManager' under the 'Window' menu, and then just play around with the sliders

    this is the current code:
     

    Attached Files: