-
Posts
5,004 -
Joined
-
Last visited
Reputation
6,838 ExcellentProfile Information
-
About me
Purveyor of Nyan Cat and King of Cheaters
-
Location
Paris, France
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Tweak[Box] started following sarbian
-
I am a bit rusty with all that but I would do GameObject obj = GameObject.CreatePrimitive(PrimitiveType.Sphere); obj.layer = 10; // Scaled Scenery layer float scale = 4f; obj.transform.localScale = new Vector3(scale, scale, scale); obj.transform.parent = ScaledSpace.Instance.transform; obj.transform.localPosition = ScaledSpace.LocalToScaledSpace(kerbin.position);
-
The view in KSP is composed of multiple camera. And some of those camera uses a different scale than the rest of the world. In the tracking station/map view you basically have the ScaledSpace Camera PlanetariumCamera.Camera (where you have your planets and orbits) and the galaxy Camera (a small cube with the texture of the galaxy background). Those cams only displays objects with the proper culling mask. So if you want your sphere to show up then the GameObject needs to be assigned to the right Layer. You can find a list here . And you will need to use "Scaled Scenery" for your needs. And you will have to search the forum about ScaledSpace and WorldSpace to place the item where you actually want them if you want to use orbits or "real" space coordinate. Edit : set FlightCamera.fetch.cullingMask to -1 while in the flight view if you want to better understand what is going on. (or set it to ~(1 << LayerMask.NameToLayer("SkySphere")) to hide everything but the galaxy box)
-
Alfiestingkey started following sarbian
-
There is no need to diagnose anything. SmartRCS disable rotation or translation by changing the RCS config. It does not save the original config and so it can not restore it when switched off. Saving the conf is not trivial, but far from impossible. The main issue is people willing to code it. I am not among those people.
-
Blue_Point started following sarbian
-
[1.8+] Custom Barn Kit 1.1.20 (19 October 2019) - Parachute Included
sarbian replied to sarbian's topic in Add-on Releases
This should be fixed with the new CustomBarnKit-1.1.22.0.zip thanks to @siimav- 334 replies
-
- 12
-