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 8vius · Feb 23, 2011 at 03:33 AM · followclothattach

Making a Cloak using the Cloth GameObject

I was wondering if anyone here has made cloaks/capes/scarfs or anything for their characters that uses the Cloth GameObject, if so how do you make it attached to the character and follow him ? And if you use some other method what is that method of making these elements?

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by AVividLight · Feb 23, 2011 at 03:59 AM

I made a cape... Just attach it to the game object and attach some colliders...

-Edit-

Step 1) Make two small gameObjects (Name Them Collider1 & Collider2)

Step 2) Make a Cloth gameObject (Name it Cape)

Step 3) Move Collider1 & Collider2 onto your "player"

Step 4) Move the Cape INTO the colliders (So that the edges of the cape are intersecting the colliders)

Step 5) Under "Attached Colliders" (In the capes settings) set it to 2

Step 6) Drag & Drop Collider1 & Collider2 onto the two spaces that apear when you finish step 5


In case it isn't clear, here is a picture:

http://img826.imageshack.us/f/screencaptureu.png/


Here is a prefab of the "player"... Sorry I can't answer your questions specifically... I hope this helps!

First Person Controller

Comment
Add comment · Show 19 · 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 8vius · Feb 24, 2011 at 04:08 AM 0
Share

Can you give me a more thorough explanation if it's not too much trouble? I'm new with Unity3D

avatar image 8vius · Mar 01, 2011 at 12:56 AM 0
Share

If I made a Cloth GameObject added the Colliders to it, set the colliders in Attached Colliders and made a prefab with this, would this give me issues? Would I just search the prefab for the colliders and attach them to my character? Sorry for being a nuissance

avatar image AVividLight · Mar 01, 2011 at 01:48 AM 0
Share

No, I think that that would work...

avatar image AVividLight · Mar 01, 2011 at 01:49 AM 0
Share

But make sure the colliders and the cape are both children of the "player"

avatar image 8vius · Mar 01, 2011 at 02:24 AM 0
Share

Ok, i did this and it's instantiating properly, but, the cape doesn't stay attached to the spheres. What I have is the Cloak prefab that is the Cloth and in it theres 2 prefabs contained 1 for each colliders, i set the colliders of the cloth to be the prefabs and instantiate it in my code but the cloth will just drop to the floor while the spheres move with my character

Show more comments
avatar image
2

Answer by doomprodigy · Feb 23, 2011 at 04:03 AM

Model the Scarf etc first and then add it to the current model with colliders as GBStudios said, then add the modifier. This will work for Scarfs, Capes etc. For a cloak or robe etc, model it with your character and then the cloak part of the mesh give it the cloth modifier. Or just model both separately and add colliders to non moving parts.

Peace, Aaron Lewis

Comment
Add comment · 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

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

No one has followed this question yet.

Related Questions

Attach a cloth to a character 0 Answers

Help when "connecting" 2 objects? 1 Answer

how to find existing cloth position? 1 Answer

Cloth attached to "Weights"? 0 Answers

Problem attaching cloth to gameobject 0 Answers


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