mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Add comment
This commit is contained in:
parent
6a516ef6af
commit
e617d98e1f
@ -139,6 +139,7 @@ namespace NewHorizons.Builder.Props
|
||||
}
|
||||
|
||||
var prop = scatterPrefab.InstantiateInactive();
|
||||
// Have to use SetParent method to work with tidally locked bodies #872
|
||||
prop.transform.SetParent(parent, false);
|
||||
prop.transform.localPosition = point * height;
|
||||
var up = (prop.transform.position - go.transform.position).normalized;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user