Jump to content

Propelling KSP 2 to New Frontiers: A Call for Technological Evolution


Recommended Posts

  On 8/24/2023 at 2:41 PM, cocoscacao said:

Games usually don't have things like docking. 

Expand  

ksp2 just deletes the old crafts and create 1 new one. 

 

  On 8/24/2023 at 2:32 PM, Spicat said:

In my comprehension, physics of the craft are dependent of each other and that's why multithreading was difficult or next to impossible when they started development.

Expand  

Dots has a physics package https://docs.unity3d.com/Packages/com.unity.physics@1.0/manual/index.html

Link to comment
Share on other sites

  On 8/24/2023 at 4:35 PM, munix said:

You can search in the game's code for the uses of the "Unity.Jobs" and "Unity.Burst" namespaces and see that there are several uses, such as in the PQS system, and in the maneuver node solver for example.

Expand  

none of it involves the parts. or systems that need it. and thats what the post is about. 

(from from our convo on discord)

Link to comment
Share on other sites

  On 8/24/2023 at 6:42 PM, ShadowDev said:

none of it involves the parts. or systems that need it. and thats what the post is about. 

Expand  

what exactly do you mean with "systems that need it"? A lot of unity components don't require asynchronous behaviour.
for example mesh renderers and colliders, input, etc. when it comes to physics behaviour between parts, multithreading doesn't
benefit much, because each part needs to wait on the other parts physics update to complete anyway, otherwise you'll 
experience clipping and even worse cases of kraken attacks.

There are also other ways of leveraging multiple threads in Unity that doesn't involve DOTS, jobs or the burst compiler, but 
it needs to be useful and not work against you while you're still building the base of the game. bugs can be easily hidden in 
other threads, so even if something performs well, that doesn't necessarily make it better. 

Link to comment
Share on other sites

  On 8/30/2023 at 10:15 PM, InterstellarDrifter said:

With physical interaction being linear, in relation to time, I could see it being very difficult to keep multiple threads running in time with one another.

Expand  

It is an incredibly complex technical challenge, but devs at Unity and have been working on making such a system for years, all the ksp2 devs need to do is to utilize it. 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...