Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to scale Softbody and other questions
#2
(13-03-2020, 01:09 AM)JulioWabisabi Wrote: Hello,
We recently purchased the Obi Softbody plugin and we are strugling to make it work as we wanted, in our game the user decides the initial scale of the world before playing and everything in that world gets scaled at the start and then you play with that scale.

But the meshes that use softbody doesn't scale as intended, we have read several posts in the unity forums as in here and we got that apparently the way the obi works dynamic scaling is not mathematicaly possible or something like that, the scaling aspect of our game is something we cannot change and we really want to implement softbody physics for some mechanics is there anything we can do to make it work?

Also, we are quite not getting how attachments works as sometimes the mesh bounds get moved outside the camera and the objects don't get rendered, how we can constrain the simulation to stay on the object position but retaining the softbody behaviour? because when we tried to attach some points to the mesh or bones the simulation stop working.
Also, any considerations for the 3d artists, most of our models don't work as expected, in the examples the dragon mesh works flawless with only 3 clicks, but 80% of the models we have tried got mixed results from melting like behvaiour to partial parts of the mesh working as expected.

Thanks!

Hi,

- Scaling:
You can just scale the solver component. That will change the scale of the entire simulation. What you can't do though, is scale a single object individually, as mathematically speaking, a deformable object cannot be scaled using a single transform matrix.
See:
http://obi.virtualmethodstudio.com/tutor...olver.html

- Attachments:
Attachments do not affect rendering in any way. If the object is not rendered, it means the bounds of the SkinnedMeshRenderer do not match the mesh. Could you show a video or share a repro project?

Quote:Also, any considerations for the 3d artists, most of our models don't work as expected, in the examples the dragon mesh works flawless with only 3 clicks, but 80% of the models we have tried got mixed results from melting like behvaiour to partial parts of the mesh working as expected.

All models are treated in exactly the same way. However, most generation parameters must be adjusted for each specific model. You can't expect the default generation parameters to work for any mesh.

For instance, if you use the defaults with an object that has vertices very spaced apart, the default cluster radius will fail to generate clusters for most particles, and these will "detach" from the model giving a melting look.  See:
http://obi.virtualmethodstudio.com/tutor...setup.html

Also, the skin radius parameter of the skinner is important. Too low radius values will leave vertices with no skinning. See:
http://obi.virtualmethodstudio.com/tutor...inner.html
Reply


Messages In This Thread
RE: How to scale Softbody and other questions - by josemendez - 13-03-2020, 08:56 AM