- Home /
Question by
Revelation · Apr 20, 2011 at 08:51 PM ·
editortransformcontrol
Scripting a "Unity Editor"-like object transformation control
In Unity Editor, one can manipulate object easily with "position", "rotation", and "scale" by pulling simple control bars around the object and have user pull on it.
How might one approach making this feature in a game? Thanks
Comment
Answer by by0log1c · Apr 20, 2011 at 09:23 PM
Long answer short (I'm at work) check out these 2 links. Make an editor script adding Handles to a script Component you'd add to the desired GameObjects.
I'll try to add more info from home.
I thought these only worked in the editor, and you couldn't use them in an actual game? Am I wrong?
@burgunfaust, you're right, I looked into these editor classes, it seems that these manipulate the Unity Editor, but doesn't actually do anything at runtime