So, when I grabbed the staticNPC object, there notation clearly says that billboard height is separate from the staticnpc object.
Look at the DaggerfallInterior script file, you can see how they setup the billboard, and from here, I think we can see how to change height for a static billboard.
Code: Select all
// Calculate position
Vector3 billboardPosition = new Vector3(obj.XPos, -obj.YPos, obj.ZPos) * MeshReader.GlobalScale;
// Import custom 3d gameobject instead of flat
if (MeshReplacement.ImportCustomFlatGameobject(obj.TextureArchive, obj.TextureRecord, billboardPosition, node.transform) != null)
continue;
// Spawn billboard gameobject
GameObject go = GameObjectHelper.CreateDaggerfallBillboardGameObject(obj.TextureArchive, obj.TextureRecord, node.transform);
// Set position
DaggerfallBillboard dfBillboard = go.GetComponent<DaggerfallBillboard>();
go.transform.position = billboardPosition;
go.transform.position += new Vector3(0, dfBillboard.Summary.Size.y / 2, 0);
One issue I just found, if you try to grab the billboard object and force reset the size, it won't let you. It is protected to a get only object.