Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Softbody positioned far from the world origin move toward the origin unexpectedly
#3
(31-05-2019, 07:12 AM)josemendez Wrote: Well, you're facing floating point precision problems. Shape matching constraints are specially sensitive to it. This is not at all unexpected, and one of the reasons why local space simulation exists. See:

http://obi.virtualmethodstudio.com/tutor...space.html

Quote from local space sim advantages:

So the solution in this case would be to switch from world space sim to local space sim.

cheers,

Hi,
Than you for quick response!

Yes, exactly it became not caused in local space simulation.

But I came to another problem in case of local space simulation, it is that visual of the ball (in faraway) and its transform (in wold's origin) get apart.
I'm thinking of attaching unity collider to ObiSoftbody to interact in unity standard ways such as collision, Physics.raycast, and so on...

Is there any way to keep visual and transform of softbody at the same position in local space simulation?
Thanks
Reply


Messages In This Thread
RE: Softbody positioned far from the world origin move toward the origin unexpectedly - by kenjis - 31-05-2019, 08:53 AM