x


"Attach" cloth.

Let's say I want to make a flag.

I make a stick, which is a cube with a long height. Then I make a cloth object. Technically, I want to somehow attach the cloth object to the cube object, simulating a flag... but I can't find a way to efficiently achieve such =/

more ▼

asked Nov 22, 2010 at 05:30 AM

OmegaVemon gravatar image

OmegaVemon
177 68 61 73

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

What you need to do is to add a collider to the object you want to attach the cloth to. Make sure the cloth mesh and the collider overlap in some vertices. Then, in the cloth component, expand the "Attached Colliders" field, and set the size to 1 (or how man colliders you want to attach). Expand "Element 0" and Drag the collider object to the "Collider" slot.

more ▼

answered Nov 22, 2010 at 11:00 AM

jonas echterhoff gravatar image

jonas echterhoff ♦♦
10.4k 8 31 114

Thanks! Works perfectly!

Nov 22, 2010 at 06:08 PM OmegaVemon

oh so that's what u meant :o, good thing jonas knew then :) Wouldn't have known that.

Nov 22, 2010 at 06:39 PM Proclyon
(comments are locked)
10|3000 characters needed characters left

Hook up the object as a child to the parent ( Drop the "flag cloth" object onto the pole object. An action you can perform in the editor tab named "hierarchy" when your scene and project are loaded.

What happens now is that when you change the pole, the same will happen to the "flag cloth". You can specifically add effects or other to child which will not effect the parent (like wind blowing through it) if you want for the future.

more ▼

answered Nov 22, 2010 at 08:01 AM

Proclyon gravatar image

Proclyon
1.5k 30 23 46

The cloth might be the pole's child, but it still won't achieve an "attached" effect.

Nov 22, 2010 at 06:08 PM OmegaVemon
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x193
x177
x150
x106

asked: Nov 22, 2010 at 05:30 AM

Seen: 7815 times

Last Updated: Nov 22, 2010 at 05:30 AM