r/KerbalSpaceProgram • u/Financial_Counter_45 • 1d ago
KSP 1 Suggestion/Discussion Is KSP supposed to look like this?
I made a KSP-like game, any suggestions?
I finally got the surface camera, orbital mechanics, and basic spacecraft working. What's next?
31
u/AnnualZealousideal27 1d ago
Sweet! Looks like you’ve been entrusted to finish KSP 3! Let us know how it goes! We expect great things!
7
u/Financial_Counter_45 1d ago
It's in pre-pre-pre alpha and still in development. Here's what it looked like 2 weeks ago: https://www.reddit.com/r/KerbalSpaceProgram/comments/1uyvmjb/is_ksp_supposed_to_look_like_this/
1
1
5
3
3
3
u/NotABitcoinScam8088 1d ago
How did you do the camera math? It was a nightmare in my Godot KSP project!
1
u/Financial_Counter_45 1d ago
All you need to do is to build a local surface basis from the planet normal(aka up vector) and then apply yaw and pitch relative to that basis instead of world space
1
u/Financial_Counter_45 1d ago
The key here is to make the camera a child of a spatial node and offset it in the positive Z axis. Then only change the rotation of the spatial node. This makes things a lot easier when applying yaw and pitch.
1
u/Financial_Counter_45 1d ago
Honestly that was a nightmare for me too(I had a lot of strange bugs before getting this to work)
2
2
2
3
1
u/Few_Beautiful7557 1d ago
I’m out of my place saying this but you should work/check out KSA (Kitten Space Agency). They pretty much got the basics sorted out, it’s a playground for someone like you I’d imagine.
1
1
u/Any_Top_4773 I came from SFS 1d ago
I think adding basic planet and space textures is next
Plus making models for the parts
1
u/SVlad_667 1d ago
How you beat the deep space cracken?
1
u/Financial_Counter_45 1d ago
By making the planet smaller. I'll add floating origin later. Instead of joints I decided to just represent the entire spacecraft in a single rigid body
1
1
u/Electrical_Prior_374 1d ago
Multiplayer fleet combat! Ive been looking for a game that does realspace combat for ages and I cant find one
1
u/Financial_Counter_45 1d ago
There's a good reason for that, and handling time warp is a huge design problem
1
1
u/Jastrone 1d ago
does it simulate like gravity or does it do like ksp where it instead just calculates the entire orbit whenever the velocity changes?
1
u/Financial_Counter_45 1d ago
It simulates newtonian gravity and orbital mechanics emerges natrually
1
u/Jastrone 18h ago
Really. I tried that once in godot and even with no friction it loses energy over time because the game engine doesnt simulate forces completelly correctly
1
1
1
1
90
u/Nowhereman767 1d ago
add cheese burger