Wallpaper Engine:壁纸引擎

Wallpaper Engine:壁纸引擎

评价数不足
Layer parenting
   
奖励
收藏
已收藏
取消收藏
Age Rating: Everyone
Category: Asset
Asset Type: Script
Asset Genre: Post Processing
Script Type: Vec3
文件大小
发表于
更新日期
502.750 KB
2021 年 11 月 4 日 下午 3:23
2022 年 1 月 27 日 上午 11:17
4 项改动说明 ( 查看 )

订阅以下载
Layer parenting

在 Gariam 的 1 个合集中
Gariam's assets
33 件物品
描述
ATTENTION: Because wallpaper engine now has a native parenting system this asset is officially deprecated, thus it won't receive support anymore.

Script to simulate hierachy between layers. Apply this to any property of the parent layer.
This script can be applied to layers that are already children of other layers.
Layers must have different names (layers not beeing parented included) in order to be recognised (capital letters and spaces make a difference)

Main features:
  • parenting for visibility, origin, angles, 3D rotations, scale, color and opacity
  • different settings for every child
  • puppet warp's bones as parent
  • support for every type of layer that have the supported properties
  • child's response to parent's variation can be customized
  • custom error messages

In case of particle systems, if you want to apply movements only to the emitter instead of the whole layer (it means that already released particles won't be affected) you need to check the property "worldspace" in "particle editor > General > System".

For instruction on how to use this consult my dedicated guide.
10 条留言
🌸峰小_𝓛𝓲𝓷𝓰🌸 2023 年 3 月 20 日 下午 6:26 
That's really good hands. I hope everything goes well with you.
Gariam  [作者] 2023 年 3 月 20 日 下午 12:23 
@峰小_Ling Yeah, I can do that. I didn't do it before because I wasn't able to, but now I've learned how. It'll come in the next update some days from now.
🌸峰小_𝓛𝓲𝓷𝓰🌸 2023 年 3 月 17 日 下午 8:01 
Currently, only Origin can use bones as the main layer. Can you update other attributes and use bones as the main layer?
Shadowhawksam 2023 年 2 月 1 日 下午 2:03 
i figured it out though
Shadowhawksam 2023 年 2 月 1 日 下午 2:03 
im stupid, thats the thing
Gariam  [作者] 2023 年 1 月 31 日 下午 10:47 
That's why there's a guide... Is it not enough?
Shadowhawksam 2023 年 1 月 31 日 下午 3:09 
Helpful, but hard to understand
Rhy 2022 年 1 月 25 日 上午 10:46 
Another thing i noticed; when driving movement through scripts it's important to do the movement inside the update before the parenting. Otherwise this script could execute before you do the movement, which results in incorrect positioning (when for example altering origin in another script).

The shared class can be used to easily move the function that does the position changes into this script's update.

Not a huge deal but should be mentioned for people wondering.
Gariam  [作者] 2022 年 1 月 4 日 下午 12:48 
Thank you.
I'll look into it, it would be helpful if you could provide me more details about these issues on discord.
Rhy 2022 年 1 月 4 日 下午 12:27 
Great work! it still seems to have trouble when using it on models as it at some point tries to access their color, resulting in an unhandled exception. Removing the code responsible for the color solves the issue.
Rotation works great when rotating them on one axis, but seems to fail when on rotated on more than 1 axis (using for example engine.rotateObjectSpace()).