Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 459 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to use the cloth system effectively? #449086
03/03/15 17:37
03/03/15 17:37
Joined: Jan 2005
Posts: 330
USA
M
MatAllum Offline OP
Senior Member
MatAllum  Offline OP
Senior Member
M

Joined: Jan 2005
Posts: 330
USA
The clothdemo.c example that ships with the latest A8 update demonstrates nicely how to create a waving flag, but it seems unclear how to do anything else. Neither the example nor the manual nor the forums make it clear how to attach to an entity. Obviously you pass the entity pointer, but there's no mention of vertex attachment.

My only guess is that the flag in the example intersects with the pole model, but when I tried intersecting it with my own model (convex polygon hull), the flag just fell off and flopped onto the ground.

Does anyone have additional info or examples on this, particularly something applicable to an animated character wearing a cape?

Re: How to use the cloth system effectively? [Re: MatAllum] #449114
03/04/15 19:20
03/04/15 19:20
Joined: Feb 2010
Posts: 886
Random Offline
User
Random  Offline
User

Joined: Feb 2010
Posts: 886
Would be interested as well.



Re: How to use the cloth system effectively? [Re: Random] #449122
03/04/15 21:20
03/04/15 21:20
Joined: Oct 2004
Posts: 900
Lgh
rojart Offline
User
rojart  Offline
User

Joined: Oct 2004
Posts: 900
Lgh
Hi, the trick is: you should only impose your cloth with entity and not attach it, like sample 9.



Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P
Re: How to use the cloth system effectively? [Re: rojart] #449125
03/04/15 23:10
03/04/15 23:10
Joined: Jan 2005
Posts: 330
USA
M
MatAllum Offline OP
Senior Member
MatAllum  Offline OP
Senior Member
M

Joined: Jan 2005
Posts: 330
USA
Thanks for the insight. Perhaps I can do something with this.

(Also, for others facing this situation, polygon meshes apparently don't like cloth.)


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1