Control z depth of a layer with bone translation?

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

I agree, Vern, there are a lot of possibilities with using boundaries through bone action. One good addition could be (and I hope to do that in a next update) to include the bone angle in the boundary bone, and have a colored line drawn over the screen to show you the boundary.

Image

If you have a visual representation of the boundary, using it in animation would become so much easier. You'd simply move the boundary bone out of the way and still see its effect. Each boundary line should have its own color, of course.

This would open a whole new world of opportunities, where you could create (cartoon) laws of physics based on bone actions.

BTW Here is the Moho file for the above animation: boneboundary.zip

I used my TransRotate script to dynamically bind the cursor to the rotating and translating child bone representing the cursor position, without rotating the switch layer that contained the cursor images.

Image
Post Reply