Sarbian changed the topic of #kspmodding to: Welcome to #kspmodding - the channel for discussing, and learning about, modding Kerbal Space Program. Code of Conduct: https://git.io/vSQh6 | Always provide logs. | *** PSA: https://kerbalspaceprogram.com/api/index.htm | Someone is writting a Phd dissertation on KSP modding please fill out this survey https://goo.gl/forms/1vrkPYH4az8l32sb2 - I have met him and it s legit
Tank2333 has quit [Remote host closed the connection]
VanDisaster has joined #kspmodding
BasharMilesTeg_ has joined #kspmodding
BasharMilesTeg has quit [Ping timeout: 198 seconds]
Lyneira has joined #kspmodding
Lyneira has quit [Quit: Quit]
ferram4_ has joined #kspmodding
ferram4 has quit [Ping timeout: 202 seconds]
Lyneira has joined #kspmodding
APlayer has joined #kspmodding
<APlayer>
o/ I just have a quick question, to lamont specifically, but really to anyone of they know the answer. MechJeb has rendezvous functionality and similar things, but it needs to calculate the closest approach between two objects for that. What equation/algorithm/... is that? Any specific keywords I am looking for if I want to find out more?
<APlayer>
To be exact, I need the position of both objects on the next closest approach
awabast40 has joined #kspmodding
<awabast40>
Hi
<awabast40>
Is there anyone here
<lamont>
APlayer: I’ve actually never looked at that code. My guess is that it just does binary search (secant or brents algorithm or whatever would probably be faster).
<awabast40>
Hello I have a question
<APlayer>
lamont: Ah, I see. Thanks, I'll check that out!
<lamont>
I think there is some analytic solution to that problem that KSP uses itself for closest approach on the map display and I think I recall… uhm, spacing on the devs name now… who was saying it involved solving a 3rd or 4th order equation…
<awabast40>
Where do I find the script that makes kerbals move where's the animation file for the little buggers
<lamont>
bill / taniwha
<APlayer>
taniwha knows all sorts of things about KSP, yes
<lamont>
awabast40: i have no clue, never touched anything remotely near that
<APlayer>
awabast40: I can only repeat, that sort of thing will be closed source. At best, you may hope to find it exposed in the API
awabast40 has quit [Quit: webchat.esper.net]
<APlayer>
And gone
awabast40 has joined #kspmodding
<awabast40>
I was hoping to use the the script for the animation file as an example file for a mod I'm trying to make
awabast40 has quit [Client Quit]
awabast40 has joined #kspmodding
<awabast40>
So does anybody know how the kerbals move
<awabast40>
Has anyone ever seen the code or script that animates them
<awabast40>
I got told that I can find them in persistent file which I haven't gone right through yet but I'm getting there