Bind decides every GLB-structure fact of a mod ship once
ReadNodeIds' HasMesh is now BuildsMesh: no skin, mesh index inside meshes, at least one primitive, POSITION and triangle mode on each. Assemble's shield-radii throw is deleted (Bind's PositiveScale is the judge). The FBX thruster emitter takes Hide, with a smoke Require. Unity-only edits are not compiled in this Body. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7d5e14a65b
commit
b66d4f89ab
5 changed files with 35 additions and 15 deletions
|
|
@ -112,6 +112,7 @@ public static class ShipPrefabAuthoring
|
|||
case "Thruster":
|
||||
var emitter = DirectChild(node, "Emitter")?.GetComponent<MeshRenderer>();
|
||||
if (emitter == null) throw new InvalidOperationException($"{name} needs an Emitter mesh child");
|
||||
ShipModShips.Hide(emitter, invisible);
|
||||
AddOrGet<ThrusterHardpoint>(node.gameObject).Emitter = emitter;
|
||||
thrusters.Add(node.GetComponent<ThrusterHardpoint>());
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue