mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Revert "(TODO: TEST MORE) use GeneralPropBuilder for normal"
This reverts commit 75b703716106773edd4776d111f9fabc9d97c721.
This commit is contained in:
parent
75b7037161
commit
3c691d3511
@ -131,10 +131,9 @@ namespace NewHorizons.Builder.Props
|
||||
case PropModule.NomaiTextInfo.NomaiTextType.Wall:
|
||||
{
|
||||
var nomaiWallTextObj = MakeWallText(planetGO, sector, info, xmlPath, nhBody).gameObject;
|
||||
// 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);
|
||||
nomaiWallTextObj = GeneralPropBuilder.MakeFromExisting(nomaiWallTextObj, planetGO, sector, info);
|
||||
|
||||
/*
|
||||
// using GeneralPropBuilder normal here does not work so have to do it manually
|
||||
if (info.normal != null)
|
||||
{
|
||||
// In global coordinates (normal was in local coordinates)
|
||||
@ -154,7 +153,6 @@ 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