How to create a GUI that is a Physics Editor for the Gamer

Hello, I am building a physics sandbox and need to create a GUI that allows the gamer to add and change physics properties of game objects. A difficult task to say the least. Can someone explain just how this can be achieved with as much detail and examples as possible. My email is andrey0002@gmail.com for any code examples. I have iGUI and NGUI if that helps make it easier to explain. I can make any control using these plugins but it’s the code that’s the hard part of course.

I asked in Answers if there was a way to duplicate the Unity Inspector Physics components so that the gamer can use it at run time and someone said it could be done with .NET Reflection but I don’'t understand how to go about making that work. If you do please comment.

Unfortunately you cannot reuse the inspector panels at runtime (unityeditor.dll not available at runtime) and you’ll have to do it yourself using your proffered GUI framework.

You should really read the instructions of the framework in question and write it all by yourself.