28-12-2020, 09:47 AM
(This post was last modified: 28-12-2020, 09:54 AM by beatrichartz.)
Hey there,
I freshly bought soft bodies and I do have a problem setting up a 2D project with soft bodies. I've created a planar mesh, generated a blueprint from it, and added the components for it to my 2D world.
Desired behaviour would be for the 2d planar circle mesh to behave like a bouncy ball, i.e. it should staunch on impact, just like the 3D soft balls in your soft ball demo.
I've uploaded my project here.
Currently what it does for me on Unity 2020.2.1f1 is the following:
- With normal unity RigidBody 2D and colliders, everything works smoothly
- When I add in the Obi Resolver, OniColliderworld and Obi Softbody components, frame rate goes down. Also, the collision stops to work, e.g. the ball goes through the floor.
- I've selected mode 2D, however I'm seeing the ball transform in Z position as well, which I think is not supposed to happen
This is probably a misunderstanding from my part since I'm new to this engine. My questions are:
- What am I doing wrong?
- Are there more in depth Obi 2D tutorials available?
Thanks
I freshly bought soft bodies and I do have a problem setting up a 2D project with soft bodies. I've created a planar mesh, generated a blueprint from it, and added the components for it to my 2D world.
Desired behaviour would be for the 2d planar circle mesh to behave like a bouncy ball, i.e. it should staunch on impact, just like the 3D soft balls in your soft ball demo.
I've uploaded my project here.
Currently what it does for me on Unity 2020.2.1f1 is the following:
- With normal unity RigidBody 2D and colliders, everything works smoothly
- When I add in the Obi Resolver, OniColliderworld and Obi Softbody components, frame rate goes down. Also, the collision stops to work, e.g. the ball goes through the floor.
- I've selected mode 2D, however I'm seeing the ball transform in Z position as well, which I think is not supposed to happen
This is probably a misunderstanding from my part since I'm new to this engine. My questions are:
- What am I doing wrong?
- Are there more in depth Obi 2D tutorials available?
Thanks