H-uru / korman

Blender plugin for creating ages for Cyan Worlds' proprietary Plasma engine and its open source variant, CyanWorlds.com Engine.
GNU General Public License v3.0
35 stars 17 forks source link

Animating a Panic Region in a Subworld. #390

Open TheScarFr opened 9 months ago

TheScarFr commented 9 months ago

If I animate a mesh and set a Panic Region as a child of the animated mesh, the Panic Region moves correctly with the animated mesh if both the Panic Region and the animated mesh are in the World; but if they are in a Subworld, the Panic Region doesn't move with the animated mesh*.

*: or empty

Hoikas commented 9 months ago

Can you provide a minimum viable reproduction blend of this?

TheScarFr commented 9 months ago

Here is the file. SubworldAnimatedPanicRegion(issue#390).zip

Hoikas commented 8 months ago

Thanks. Issues with child objects, animations, and subworlds are particularly difficult to track down. This blend file will be helpful. It may be after the holidays before I can investigate this, however.

Hoikas commented 8 months ago

This issue seems to only affect path of the shell. The sample blend works correctly on the H'uru CWE client but doesn't on TPotS.

TheScarFr commented 8 months ago

Oh, ok. 😐 For my Age, I found an alternative to the animated Panic Region; that being said, I think that there's another issue, probably also only for TPOTS: The Panic Regions don't work at all in a Subworld... I think. I'll confirm/infirm it this week.

Hoikas commented 8 months ago

The panic link region inside the subworld in your sample blend seems to work. in TPotS.. It just isn't moving inside of the subworld the way that you have it animated in Blender. I looked through Cyan's Ages and couldn't find any examples of panic link regions inside of subworlds, so there may be a bug in TPotS itself with this situation. Dealing with the subtle difference in physics behaviors from TPotS to MOUL is difficult, and I was really hoping to find some cases where Cyan had done this. At some point, I will go back through and look for examples of other kinds of regions (eg camera regions) inside of subworlds.

TheScarFr commented 8 months ago

Oh, right... I'll check this week, just to try to be more sure to know what the issue is with my Age's Panic Regions (I'm not home and my memory isn't great today).

TheScarFr commented 8 months ago

I managed to get my "StiltHouse01" Age's Subworld Panic Regions working. That being said, these regions are still childs of an animated mesh, like in the previous .blend file... So, here is a complementary .blend file; I hope that it can help you to figure where the issue is in the 1st file. Note: I added a little "ReadMe.txt" file to tell you how to test it in-game. SubworldAnimatedPanicRegion(issue#390)-ComplementaryFile.zip

TheScarFr commented 7 months ago

@Hoikas : Do you have any news about why the Subworld's animated Panic Regions work in my 2nd .blend file but not in the 1st one?

Hoikas commented 6 months ago

Sorry, I haven't had a chance to look at the second blend yet. Thanks for the reminder!

TheScarFr commented 4 months ago

Any news? (Just by curiosity; I found an alternative to the subworld, for my "StiltHouse01" Age.)

Hoikas commented 4 months ago

No news yet.