Wallpaper Engine

Wallpaper Engine

Otillräckligt med betyg
Layer parenting
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Age Rating: Everyone
Category: Asset
Asset Type: Script
Asset Genre: Post Processing
Script Type: Vec3
Filstorlek
Lades upp
Uppdaterades
502.750 KB
4 nov, 2021 @ 15:23
27 jan, 2022 @ 11:17
4 ändringsnotiser ( visa )

Abonnera för att ladda ner
Layer parenting

I 1 samling av Gariam
Gariam's assets
32 artiklar
Beskrivning
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 kommentarer
🌸峰小_𝓛𝓲𝓷𝓰🌸 20 mar, 2023 @ 18:26 
That's really good hands. I hope everything goes well with you.
Gariam  [skapare] 20 mar, 2023 @ 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.
🌸峰小_𝓛𝓲𝓷𝓰🌸 17 mar, 2023 @ 20:01 
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 @ 14:03 
i figured it out though
Shadowhawksam 1 feb, 2023 @ 14:03 
im stupid, thats the thing
Gariam  [skapare] 31 jan, 2023 @ 22:47 
That's why there's a guide... Is it not enough?
Shadowhawksam 31 jan, 2023 @ 15:09 
Helpful, but hard to understand
Rhy 25 jan, 2022 @ 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  [skapare] 4 jan, 2022 @ 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 4 jan, 2022 @ 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()).