Posts: 2
Threads: 1
Joined: Jun 2024
Reputation:
0
Howdy! I'm aiming to do BeamNG like crash damage and come to the conclusion that the Obi Softbody for Unity is the best option for that kind of deformation. The cars come in FBX files with multiple meshes under it. Is there a way to programatically load all of them in one go or some guidance on how to create all of this at runtime? Ideally, the meshes will deform and things like doors will come off. It might be simpler to create primative objects that bind to the overall meshes. Any guidance is appreciated.
Posts: 6,216
Threads: 23
Joined: Jun 2017
Reputation:
392
Obi Owner:
30-07-2024, 08:25 PM
(This post was last modified: 30-07-2024, 08:28 PM by josemendez.)
As Tegleg said, Obi is not really designed with this in mind. Car destruction physics involves a lot more than just softbody simulation (doors coming off, glass breaking, debris, damaged tire simulation, etc) and even then, the shape deformation itself is better handled using springs/struts/beams (what BeamNG uses) instead of Obi’s volume-based softbodies because cars are generally complex shapes and you need precise manual spring placement control like BeamNG’s.
Posts: 2
Threads: 1
Joined: Jun 2024
Reputation:
0
Thanks! Makes sense but that sucks. I was going to use Obi for deformation and do my own scripts for hinges and falling off parts. Another method I saw was to use rigged components and deform based on hit locations and forces. I guess I'll probably go back to that. definitely adds complexity.