mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
(TODO: TEST MORE) use GeneralPropBuilder for normal
This commit is contained in:
parent
de4c2ec7e2
commit
75b7037161
@ -131,8 +131,10 @@ namespace NewHorizons.Builder.Props
|
||||
case PropModule.NomaiTextInfo.NomaiTextType.Wall:
|
||||
{
|
||||
var nomaiWallTextObj = MakeWallText(planetGO, sector, info, xmlPath, nhBody).gameObject;
|
||||
nomaiWallTextObj = GeneralPropBuilder.MakeFromExisting(nomaiWallTextObj, planetGO, sector, info);
|
||||
// TODO: hawkbar says normal doesnt work, but it seems to be fine in examples. further testing required probably (im lazy)
|
||||
nomaiWallTextObj = GeneralPropBuilder.MakeFromExisting(nomaiWallTextObj, planetGO, sector, info, normal: info.normal);
|
||||
|
||||
/*
|
||||
if (info.normal != null)
|
||||
{
|
||||
// In global coordinates (normal was in local coordinates)
|
||||
@ -152,6 +154,7 @@ namespace NewHorizons.Builder.Props
|
||||
nomaiWallTextObj.transform.RotateAround(nomaiWallTextObj.transform.position, forward, zRotation);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
// nomaiWallTextObj.GetComponent<NomaiTextArcArranger>().DrawBoundsWithDebugSpheres();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user