8,013
edits
Paradox-01 (talk | contribs) m (→Meshes) |
Paradox-01 (talk | contribs) m (→Meshes) |
||
Line 408: | Line 408: | ||
For example a script would export the furniture "U_freight_wht_long" and save the position of all instances to a text file. UE4 would need the import the FBX once and read that text file to place them all in the level. The problem is that rotations are all reset to 0. It might be possible to define some kind of reference and read the first vertex of each object, reading the different rotation and saving this to the text file as well. | For example a script would export the furniture "U_freight_wht_long" and save the position of all instances to a text file. UE4 would need the import the FBX once and read that text file to place them all in the level. The problem is that rotations are all reset to 0. It might be possible to define some kind of reference and read the first vertex of each object, reading the different rotation and saving this to the text file as well. | ||
A text file (txt/csv/json/xml) might store this data: | |||
<asset name="U_freight_wht_long" cjboId="7412" pos="x,y,z" rot="x,y,z" /> | |||
<asset name="U_freight_wht_long" cjboId="7413" pos="x,y,z" rot="x,y,z" /> | |||
'''Green collision boxes''' | '''Green collision boxes''' |
edits