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 Henrique · Dec 07, 2010 at 06:30 PM · updatecloth

Cape with Cloth Unity 3.0

Hi, i would like to make a cape for my character, I did it, but I got a big problem.

The cloth has made by two objects, one is the cloth, other is kind of a colar, where is from came the cape. The real cape is I've used cloth system, then it moves as a cape with the wind and movement of the character. I have used a collider attached to a spine bone for attach the cape to the Player.

And the problem is: When i walk with my character, the cape position isn't updating as the Player position. The cape always is kind of a frame before the player, or something like this. But when character is idle, it works well.

How would i solve this Update problem ?? Can't I make capes with Unity 3.0 Cloth System?

Thank you so much!


I use Interactive Cloth!

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

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by ronin sixshooter · Dec 17, 2010 at 03:17 PM

I had the same problem. Using the FixedUpdate() function instead of the Update() function seemed to work. I'm not 100% sure on the difference between the two functions but it seems to work.

Comment
Add comment · Show 3 · 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 fireDude67 · Dec 17, 2010 at 03:28 PM 0
Share

Yes...FixedUpdate uses a fixed time steps (intervals), and so that makes it a better choice for when you want to do something with physics.

avatar image Henrique · Dec 17, 2010 at 04:13 PM 0
Share

I've noticed it, but why would i use some script? to move the object which is holding the cape?

PLEAS$$anonymous$$ What are you doing on script? why have u using script...it looks like the cloth system and collision to clothes can be made in the Unity 3...but i don't see why would i use scripts...

Thanks

avatar image ronin sixshooter · Dec 20, 2010 at 01:58 AM 1
Share

You would use scripts to tell you character how to move. The character is a parent object to the cape so the cape moves with the character.

FixedUpdate() worked for a bit but it stoped working when I changed to charactercontroller.$$anonymous$$ove()

:(

avatar image
1

Answer by soulzero · Dec 07, 2010 at 08:40 PM

Are you using "Interactive Cloth" or "Skinned Cloth" for the cape?

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 Henrique · Dec 08, 2010 at 03:22 AM 0
Share

Interactive Cloth! It is a cape.

avatar image Sriram · Dec 16, 2010 at 12:35 PM 0
Share

Anyone with any solutions for this please do post.

avatar image
0

Answer by Henrique · Feb 01, 2011 at 08:28 PM

It finally gets working :D Thanks to all posted here.

i've used this on the Cape Object

void FixedUpdate () { transform.position = target.position; //target is the player(can be finded with GameObject.FindWithTag too..)

}

Thanks guys. God bless you all! :D

Comment
Add comment · Show 1 · 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 Nuitari · Nov 04, 2013 at 12:10 PM 0
Share

I tried this, but it didn't make any difference.

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

1 Person is following this question.

avatar image

Related Questions

Unity 3.0 cloth is one-sided? 1 Answer

Unity 3d 3 Collision not working 1 Answer

Help with cloth collision 0 Answers

Updating project from Unity iPhone 1.7 to Unity3: Internal Compiler error 2 Answers

Memory Leak Adventures in Editor (3.4, lot of instantiated objects) 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