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

Sitting Behavior should be able to send subworld join/unjoin messages #375

Closed ZarothYe closed 1 year ago

ZarothYe commented 1 year ago

From Adam on discord regarding subworld regions vs subworld messages for a tree swing Relto page: You really only want to be in the swing subworld when you're sitting on the swing - not when your big toe just happens to hit the subworld region collider. So, the way we do this - I think - add two responders to the Satisfies pins of the Sitting Behavior node. On one of them, the responder is Detect Trigger and sends a plSubWorldMsg for the swing subworld - joining the avatar to the subworld. The other responder is Detect UnTrigger and sends a plSubWorldMsg for no subworld - joining the avatar back to the main world. The only trouble with this solution is that Korman does not currently implement plSubWorldMsg.