Author Topic: Collider hangs main Thread question?  (Read 78 times)

ninekorn

  • Full Member
  • ***
  • Posts: 181
    • View Profile
Collider hangs main Thread question?
« on: June 09, 2019, 08:56:18 pm »
Hi, I got this physics issue in my server. I am trying to push for a release of a basic Station Interior Mod but right now Id be releasing with a bug that crashes the server... Im not sure exactly why it does that. If anyone can help please.


ninekorn

  • Full Member
  • ***
  • Posts: 181
    • View Profile
Re: Collider hangs main Thread question?
« Reply #1 on: June 09, 2019, 10:28:21 pm »
I might have fixed the problem. It seems that even though there are no mining stations in the starting system, that the collider collisions are still passing through the physics check even though no players are in the systems where there are mining stations.

I've setup the mining station interior colliders so that no polygons touch any other polygons. I will keep testing tonight but it hasn't crashed for a while now.

ninekorn

  • Full Member
  • ***
  • Posts: 181
    • View Profile
Re: Collider hangs main Thread question?
« Reply #2 on: June 11, 2019, 11:19:46 am »
Nevermind, again, the bug is still there. I thought it was the miner squads beeing spawned on top of each other or on top of the station colliders but it doesn't seem to be the issue.

ninekorn

  • Full Member
  • ***
  • Posts: 181
    • View Profile
Re: Collider hangs main Thread question?
« Reply #3 on: June 13, 2019, 10:28:23 pm »
Finally, it wasnt even the squad miners beeing spawned . They arent even touching the station colliders when spawned. The problem really is the station interior colliders. I have decided to refactor all station interior Polygon colliders so that they do NOT touch any other types of Colliders, they are completely separated. I don't even know what actually is the problem on this one so I'm just going with my guts feeling. It really feels like a needle in a haystack though... Not even sure if this is finally going to fix this crash.

Is it possible to know which type of Physics library is/was used for Void Expanse? I would like to search on the forums of that library to see what do to/not to do, at least it would tell me what Im doing wrong.

EDIT: Farseer Physics - as per this thread here https://steamcommunity.com/app/324260/discussions/0/594820656472604635/
« Last Edit: June 16, 2019, 12:57:05 am by ninekorn »