Jump to content

[HELP] static layout rotation


Recommended Posts

 

hello, i am trying to put banner prefabs (with an 8 face orientation) in a biome-specific set piece( init_static_layout). however, they all face down-left no matter the orientation of the set piece. i tried using data.saved rotation, and i tried writing it in a lot of different ways ("rot=45", "rotation = 45", etc), but none of it work.

image.thumb.png.9b37d76d0346baab1556bf4679f81c3c.png

unknown.png

i tried mimicking the code below, but its seems to be valable for actual set pieces with "objects=" instead of "layout=". 

 

image.png.53a7c985013a2332ef827643f0a0da25.png

 

so my question is, anyone would know how to achieve this?


and optionally, if there's a way to generate a prefab always on the north of another(so its on north no matter the orientation of the set piece) ?

basically i have a workbench, and i want the boar using it to always spawn behind it (admitting you didn't move the camera). is there a way to do this?

39398644_321402615265709_568247933878874

 

anyway, thanks for the help!

 

 

Edited by shield angel
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...