Wallpaper Engine

Wallpaper Engine

Not enough ratings
Layer parenting
   
Award
Favorite
Favorited
Unfavorite
Age Rating: Everyone
Category: Asset
Asset Type: Script
Asset Genre: Post Processing
Script Type: Vec3
File Size
Posted
Updated
502.750 KB
4 Nov, 2021 @ 3:23pm
27 Jan, 2022 @ 11:17am
4 Change Notes ( view )

Subscribe to download
Layer parenting

In 1 collection by Gariam
Gariam's assets
32 items
Description
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 Comments
🌸峰小_𝓛𝓲𝓷𝓰🌸 20 Mar, 2023 @ 6:26pm 
That's really good hands. I hope everything goes well with you.
Gariam  [author] 20 Mar, 2023 @ 12:23pm 
@峰小_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.
🌸峰小_𝓛𝓲𝓷𝓰🌸 17 Mar, 2023 @ 8:01pm 
Currently, only Origin can use bones as the main layer. Can you update other attributes and use bones as the main layer?
Shadowhawksam 1 Feb, 2023 @ 2:03pm 
i figured it out though
Shadowhawksam 1 Feb, 2023 @ 2:03pm 
im stupid, thats the thing
Gariam  [author] 31 Jan, 2023 @ 10:47pm 
That's why there's a guide... Is it not enough?
Shadowhawksam 31 Jan, 2023 @ 3:09pm 
Helpful, but hard to understand
Rhy 25 Jan, 2022 @ 10:46am 
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  [author] 4 Jan, 2022 @ 12:48pm 
Thank you.
I'll look into it, it would be helpful if you could provide me more details about these issues on discord.
Rhy 4 Jan, 2022 @ 12:27pm 
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()).