Hi guys,
I recently used a plugin in my blueprint, which requires customizing a projectile when creating range attacks. After examining the class of this projectile, I found that it has two… let’s call them components. Both of these components have the ability to specify a PaperFlipbook.
One of them is the projectile class itself, and under its Editable Variables, there is a property called “Projectile Graphics” where you can specify a PaperFlipbook.
The other one is a subcomponent of the projectile class, which is actually a PaperFlipbook component itself, so naturally, it can specify a PaperFlipbook file.
Through my testing, I found that the PaperFlipbook under the “Self” actually takes effect, while the PaperFlipbook component has no effect at all, even when set to empty.
However, looking at the logic of this base class, as a projectile, it performs certain actions on the appearance when colliding with World Static, and again, it involves the PaperFlipbook from the PaperFlipbook component. This contradiction confuses me as to why it is written this way.
In my actual tests, projectiles generated using this base class indeed do not undergo any deformation, and I’m puzzled whether I don’t fully understand this plugin.
I attempted to modify its logic and found that when I wanted the PaperFlipbook inside “Self” to undergo deformation, it turns out that it doesn’t have a variable for WorldScale.
Then I considered if there is a way to make the “Self” not display anything and let the subcomponent’s PaperFlipbook show its own image, but I haven’t found a suitable method.
Could you provide some guidance or suggestions? Either to make the PaperFlipbook inside “Self” follow instructions and deform, or simply exclude it and display the PaperFlipbook of the subcomponent.
Thanks!