Avatar

Manipulator

2022gamedevc#s&boxqtshadershacking

this was a third-party scene view tool for s&box. like unity's scene view, you could edit objects while the game was running.

features:

  • gizmos for translation, rotation and scale (uniform scaling only, due to a s&box limitation)
  • global and local manipulation
  • movable pivot for extra freedom in moving objects
  • configurable key bindings
  • selecting an object opens it in the s&box editor's built-in inspector window

back when i made this, s&box didn't have any built-in way of letting game devs edit the transforms of objects while the game was running. it didn't even expose the functionality i needed to make such a thing, at least, not normally. i had to trudge through reversed C# to figure out how the engine handled scene worlds, and came to a hacky solution involving internal pointers.