Wallpaper Engine

Wallpaper Engine

No hay suficientes valoraciones
Layer parenting
   
Premio
Favoritos
Favorito
Quitar
Age Rating: Everyone
Category: Asset
Asset Type: Script
Asset Genre: Post Processing
Script Type: Vec3
Tamaño
Publicado el
Actualizado el
502.750 KB
4 NOV 2021 a las 3:23 p. m.
27 ENE 2022 a las 11:17 a. m.
4 notas sobre cambios ( ver )

Suscríbete para descargar
Layer parenting

En 1 colección creada por Gariam
Gariam's assets
32 artículos
Descripción
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 comentarios
🌸峰小_𝓛𝓲𝓷𝓰🌸 20 MAR 2023 a las 6:26 p. m. 
That's really good hands. I hope everything goes well with you.
Gariam  [autor] 20 MAR 2023 a las 12:23 p. m. 
@峰小_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 a las 8:01 p. m. 
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 a las 2:03 p. m. 
i figured it out though
Shadowhawksam 1 FEB 2023 a las 2:03 p. m. 
im stupid, thats the thing
Gariam  [autor] 31 ENE 2023 a las 10:47 p. m. 
That's why there's a guide... Is it not enough?
Shadowhawksam 31 ENE 2023 a las 3:09 p. m. 
Helpful, but hard to understand
Rhy 25 ENE 2022 a las 10:46 a. m. 
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  [autor] 4 ENE 2022 a las 12:48 p. m. 
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 ENE 2022 a las 12:27 p. m. 
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()).