Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Yum16yum · Sep 07, 2014 at 06:50 AM · 2d2d game2d-platformer2d-gameplay

[2d Game]How to attach gameObject with HingeJoints

i want to when I click a first place his doing anything, but when I click a second place in a time lapse of about five seconds, its creates a spider web, so a texture or gameobject who owns a hingejoint and attach the two things hit during it's two clicks. Don't forgot, my game , was a 2d game...

I do some scripts, with the Line Renderer, but nothings work

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Yum16yum · Sep 10, 2014 at 12:55 AM 0
Share

what i want its more like this, i try to create a game, the game was simple, you are a spider, and you create some web, but line, straight, web, the system its simple, its like the Attachment in $$anonymous$$erbal Space Program, but i search on Internet, and i found the LineRenderer, but its a bad idea, because lineRenderer was'nt straight Line, and not collide with other object.

avatar image Yum16yum · Sep 11, 2014 at 09:11 PM 0
Share

Ive also try the Bresenham's Algorythm, but the ony problem , was simple, the line created don't have hingejoint or any colliders to create a Web aspect

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by jtsmith1287 · Sep 07, 2014 at 07:07 AM

http://docs.unity3d.com/Manual/class-HingeJoint.html

http://unity3d.com/learn/tutorials/modules/beginner/2d/hingejoint2d

A single google search revealed both of these links, and I'm positive you can find your answer there. I would also like to say that you should spend some more time on making your words make sense. I can barely make out what you're even asking. All I know is that you're doing something with hing joints in a 2D game. In the future, you should provide examples of code demonstrating what you're currently doing or have tried. This will help people assist you. It is impossible for someone to help you based on the information you've provided without coding the entire thing themselves. Good luck.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Yum16yum · Sep 07, 2014 at 08:32 PM 0
Share

Sorry, English was not my first language, but i try something with the Line Renderer, but the line just work in the editor, but not in the game, and i dont konw if you know what is World of goo, if your answer is yes, i want to reproduce the drap and drop of the line of the goo in world of goo.

avatar image jtsmith1287 · Sep 11, 2014 at 09:19 PM 0
Share

You just need to study the documentation and watch the videos. It explains it very well. :) Good luck.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

2d shooting problem 1 Answer

Death Counter dont work when changing scenes 2 Answers

How to Implement a “Parry” mechanic to a 2D game? 1 Answer

How to make layers become visible with a button prompt?,How to make entire layers active/inactive with a button press 0 Answers

I Can't Jump, And If I Remove if(isGrounded) I Can Do More Then 10 Jumps IN The Air 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges