Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Collider Effect On Obi Cloth Stops After A Few Seconds.
#2
(02-02-2020, 04:19 AM)GrimCaplan Wrote: I'm running into an issue where a collider I create to interact with the obi cloth seems to stop effecting or barely effects the cloth after a few seconds. I was wondering if you guys could possibly shed some light on why this might be. It's not what I expected considering the cloth lays across objects below it.

Here's a video demonstrating what I am describing:

https://drive.google.com/file/d/1Zun775_...sp=sharing

Edit:

Also, is there some place I can find a tutorial or documentation on how to use a ray cast to select particles? I've seen the question multiple times in the archive, and there's pieces of code but after finding substantial differences between the different versions of Obi I don't really think wading through old posts from the archive is feasible because some are from over a year ago. I saw the slime simulation video that's not listed on youtube, it looked like all that happened was the addition of the particle dragger and picker but it doesn't seem to work that way anymore.

Hi,

Without taking a look at your scene setup and any custom script you may have, it's pretty much impossible to tell the cause of this. It could simply be that particles are getting projected outside the reach of the collider in the Z axis after colliding with it a few times (at least that's what it looks like: zones where the collider hasn't passed yet collide fine, but any parts that have already collided with it stop colliding).

You can't use Unity's built-in raycast methods to select particles, as they are not part of Unity's physics system. The particle dragger/picker are what you should use most of the time, all they do is cast a line segment from the mouse cursor position and then select the particle that's closest to it within a user-defined distance. They haven't changed at all since they were added back in 4.X, all you need to do is add them to an actor and drag over a solver to the picker's "Solver" slot. Could you tell me what issues are you having with them?
Reply


Messages In This Thread
RE: Collider Effect On Obi Cloth Stops After A Few Seconds. - by josemendez - 03-02-2020, 08:35 AM