Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Obi Cloth Jittering
#2
(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,
Reply


Messages In This Thread
Obi Cloth Jittering - by adamjm - 13-04-2019, 03:21 PM
RE: Obi Cloth Jittering - by josemendez - 13-04-2019, 04:33 PM
RE: Obi Cloth Jittering - by adamjm - 14-04-2019, 01:38 AM
RE: Obi Cloth Jittering - by josemendez - 15-04-2019, 07:23 PM