Saturday, October 17, 2020

 After some doing, I finally got this working!


Fracturing and setting up the non animated door went as expected, but getting it to animate properly while also being destructible required finding and setting a reference I wasn't previously aware of as well as orienting the pivot in a specific way, which, while annoying, I'm not entirely surprised. 

Side note, every 5 or so seconds the game suffers massive hitch. The profiler seems to indicate it has something to do with the "Scripts" and while I think the P2 shotgun fragmentation makes this somewhat worse, I cannot be sure exactly what impact it has. I'm not surprised, as the shotgun fires 9 shots simultaneously, which is ~9x the fracturing (depending on shot spread & objects hit), but the hitching may not be an issue were this initial hitching eliminated. I've also noticed that shooting the hitching post tends to more greatly impact the performance, which would indicate the interior (non-destructible mesh) is part of the problem as it is currently the only asset that is setup that way. For now, I'm moving on, because worse case scenario the interior portion is removed; although, I can probably find a more elegant solution.

No comments:

Post a Comment