Obi Official Forum
Obi Cloth Jittering - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Obi Cloth Jittering (/thread-1085.html)



Obi Cloth Jittering - adamjm - 13-04-2019

Hi, 

I'm trying to make a yacht sail, and am finding the cloth jitters/jerks every few seconds. Any idea what I'm doing wrong?

Here's a video of the issue: https://youtu.be/Lf0cFK4tRJg.

There's currently am ambient force zone applied perpendicular to the sail which is working correctly and making it 'bow' outwards. There's no turblence or turblence frequency applied.

The cloth is parented to a gameobject 'Boat' which moves sideways slowly using transform.position, and the sail is fixed in position using 'Fix Translation' on the 3 outer points of the triangle.

See pics here for the setup.

Any ideas?

Thanks


RE: Obi Cloth Jittering - josemendez - 13-04-2019

(13-04-2019, 03:21 PM)adamjm Wrote: Hi, 

I'm trying to make a yacht sail, and am finding the cloth jitters/jerks every few seconds. Any idea what I'm doing wrong?

Here's a video of the issue: https://youtu.be/Lf0cFK4tRJg.

There's currently am ambient force zone applied perpendicular to the sail which is working correctly and making it 'bow' outwards. There's no turblence or turblence frequency applied.

The cloth is parented to a gameobject 'Boat' which moves sideways slowly using transform.position, and the sail is fixed in position using 'Fix Translation' on the 3 outer points of the triangle.

See pics here for the setup.

Any ideas?

Thanks

Hi,

If you're going to move the boat by directly setting its transform (which is not a good idea when using any kind of physics), do so in FixedUpdate() instead of Update().

That should get rid of the jittering.

kind regards,


RE: Obi Cloth Jittering - adamjm - 14-04-2019

(13-04-2019, 04:33 PM)josemendez Wrote: Hi,

If you're going to move the boat by directly setting its transform (which is not a good idea when using any kind of physics), do so in FixedUpdate() instead of Update().

That should get rid of the jittering.

kind regards,

Thanks for the quick reply. You're right about movement using the transform, so I've switched over to adding force to the rigidbody for movement, but still get the same jittering.

I can provide a test scene if you need.

Thanks


RE: Obi Cloth Jittering - josemendez - 15-04-2019

(14-04-2019, 01:38 AM)adamjm Wrote: Thanks for the quick reply. You're right about movement using the transform, so I've switched over to adding force to the rigidbody for movement, but still get the same jittering.

I can provide a test scene if you need.

Thanks

Hi,

Send your test scene to support(at)virtualmethodstudio.com and we'll take a look at it.

thanks!