For anyone that’s interested, I’ve had a play with the library and found out a few things.
There are some dependencies that have been removed from Away3D 4 - so it’s not going to work without some fixing.
It shows a good approach for marrying the two frameworks together, anyone planning to use both would probably find a quick glance through the classes would be time well spent.
It allows you to map multiple mediators to a single view. If you need to do that, then this will help. I don’t, so that’s not a consideration for me, but I imagine that would be very handy for game devs.
Fundamentally, all you really have to do make an Object3D into a View is map it manually:
mediatorMap.createMediator(viewComponent);
- that’s it. (It’s because by default Robotlegs automatically creates the Mediator when the View dispatches Event.ADDED_TO_STAGE. Object3Ds don’t dispatch that, so you have to create the Mediator yourself.)
I’m not going to use it because I’d have to fix it and I don’t really need it, but it was well worth looking at.