This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
modding:constructionbasics [2020/06/20 11:01] yoshi ↷ Page name changed from modding:constructions to modding:constructionbasics |
modding:constructionbasics [2020/09/03 14:23] yoshi [UpdateFn] |
||
---|---|---|---|
Line 203: | Line 203: | ||
<div tip 100%> | <div tip 100%> | ||
- | There are two additional properties '' | + | There are two additional properties '' |
To support rotation around all three axis, encapsulate the transformation matrix of the model with the '' | To support rotation around all three axis, encapsulate the transformation matrix of the model with the '' | ||
Line 290: | Line 290: | ||
-- attach a signal to one of the above defined edges | -- attach a signal to one of the above defined edges | ||
result.edgeObjects = { | result.edgeObjects = { | ||
- | { | + | |
- | edge = 1, -- attach object to edge 1 | + | edge = 1, -- attach object to edge 1 |
- | param = .5, -- param along the edge | + | param = .5, -- param along the edge |
- | left = false, | + | left = false, |
- | model = " | + | model = " |
+ | } | ||
} | } | ||
</ | </ | ||
Line 303: | Line 304: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | |||
+ | Please be aware that it is not possible to add more than one object per edge by script. | ||