Need help (414536)

hey i need some help, i’m working on a building game but i dont know how to make building tools like grab, resize, copy, delete, add flowcode and stuff.

i really need some help with this

Hi and welcome :~)

I’m just a newbie, but I hope I can help you.
If I understood you correctly you are talking about tools as in Second Life or Garry’s mod?
I don’t know if you can program already, but if not you’ll probably have to learn it unless you find some ready-to-use scripts. For starters, here’s a javascript tutorial. If you don’t know anything about scripting yet you should put your ambitous project on hold until you have a vague idea how you can achieve your goals. Once you read and understood the javascript tutorial you could do some of the tutorials. I started with the 3D platformer tutorial, which was really cool (and expandable ;~). Make heavy use of the scripting manual, especially of the index, while you try to understand the mentioned scripts.
After that try something simple and manageable, like a simple sandbox where you can experiment with all the cool stuff like rigidbodies, physics, forces, rotating and positoning of objects, guns that shoot more guns etc.

Back to your question: here a some ideas on how these tools could work (at least I hope so ;~):

  • Drag ‘n’ Drop/Gravity Gun: There’s a predefined script called “Drag Rigidbody” in Component(the menu item)/Physics. Another version can be found here:
  • Copy/Delete: Check out Object.Instantiate(…) and Object.Destroy(…) methods.
  • Resize: Transform.localScale
    To manage all those tools you could either write/copypaste a managing script or work with hotkeys.

I hope that helped. Good luck and have fun!

tx ya very much thats really usefull tips you got there (sorry for my english if its bad)