Cloth Sample


#1

I was searching thru the forum, but couldn’t find any mention of anyone working on a Cloth sample. I am wondering, cause i wanted to enable my models hair to move, and was going to simulate using a cloth simulation, unless someone has a better idea.

Thanks much


#2

Hi!
I want to note about hair
if urho3d use bullet there is must be to able to create similar stuff like in blender - with bones and constraints.
Actually I’m not dig deep into urho3d’s physics, but i see only 2d constraints examples


#3

VehicleDemo sample has Bullet constraints (wheels attached to car body). However I’m not sure if it’s a good idea performance-wise for hair, which contains a lot of small objects. Probably running a specialized lightweight simulation is more appropriate.


#4

Ragdoll demo also makes heavy use of constraints.
Alternatively you could experiment with jiggle bones, or with shaders.


#5

Found some C++ source on Urho3D JiggleBone; might be of some use.
pastebin.com/hV1gJw8m


#6

I just guess what we may use similar stuff from bullet

Yes it meybe cause reduce of the perfomance with bullet, but CE use bones with somekind of constraints.
see this: