Jump to content

CombatPretzel

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by CombatPretzel

  1. I've seen some examples of people spawning vessels in orbit while in flight but I'm having difficulty spawning a craft in the atmosphere as they appear to spawn on rails and immediately get removed for being in atmosphere. I've tried instantiating vessels, loading from protovessel and loading from config node and cant seem to get anywhere. I assume it should look something like this: Vessel original = FlightGlobals.ActiveVessel; ProtoVessel pv = new ProtoVessel(original); pv.position = original.transform.position + new Vector3(100f,0f,0f); pv.Load(); is that anything like what I should be doing here? Is there an accepted way of doing this?
×
×
  • Create New...