position-scale driver

Discuss ideas for new features with other users. To submit feature requests to Smith Micro, please visit support.smithmicro.com

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
MehdiZangenehBar
Posts: 22
Joined: Wed Feb 07, 2024 7:17 pm
Contact:

position-scale driver

Post by MehdiZangenehBar »

smart actions can be use only with bone rotation right?, I'm pretty sure it should be easy for developers to create more advanced expression system that user be able to use position or even scale to drive the actions.
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: position-scale driver

Post by Greenlaw »

I agree.

Many years ago, I asked if we could get a UI construction kit in Moho, so we could use items other than bones for Smart Bone Action controls, like dials that look and work like actual knobs and levers, and also sliders, buttons, and user-defined lists. It would also be cool to have live indicators that display the result of the dials, like value, text (Switch drawing names, for example), etc.

No doubt, adding this kit is not an easy task, but it's something I'd still like to see.

For now, it's possible to make bones behave like joysticks and other control types by clever application of constraints, and I've also used Note layers with a synced Switch layer as a live indicator, but it would be very useful if there were 'plug-and-play' options for building control panels for characters and scenes.
User avatar
DK
Posts: 2854
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: position-scale driver

Post by DK »

I actually got a bit of a surprise to find this out when I tried just tried using scale instead of rotate to operate as a smartbone action after all these years. Thanks for the heads up.

Cheers
D.K
User avatar
synthsin75
Posts: 9975
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: position-scale driver

Post by synthsin75 »

DK wrote: Sat Mar 02, 2024 10:41 pm I actually got a bit of a surprise to find this out when I tried just tried using scale instead of rotate to operate as a smartbone action after all these years. Thanks for the heads up.
That may only seem to work while editing the action.
User avatar
MehdiZangenehBar
Posts: 22
Joined: Wed Feb 07, 2024 7:17 pm
Contact:

Re: position-scale driver

Post by MehdiZangenehBar »

DK wrote: Sat Mar 02, 2024 10:41 pm I actually got a bit of a surprise to find this out when I tried just tried using scale instead of rotate to operate as a smartbone action after all these years. Thanks for the heads up.

Cheers
D.K
Is it possible to use scale? how?
Daxel
Posts: 996
Joined: Wed Mar 27, 2019 8:34 pm

Re: position-scale driver

Post by Daxel »

I think he means he just tried, but noticed it wasn't possible.
User avatar
Maestral
Posts: 531
Joined: Tue Jan 27, 2009 5:44 pm
Location: Belgrade, Serbia

Re: position-scale driver

Post by Maestral »

Guess I'm missing something, regarding the benefits of automated Smart Actions...
Last edited by Maestral on Mon Mar 11, 2024 11:33 am, edited 1 time in total.
User avatar
SimplSam
Posts: 1048
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: position-scale driver

Post by SimplSam »

Daxel wrote: Tue Mar 05, 2024 12:50 pm I think he means he just tried, but noticed it wasn't possible.
You can use Scale (or Position) but it is convoluted. The example demonstrates using scale (or position) - Scale where the pin bone is parented to the top of the Scaling bone. The Smart bone then targets the pin bone - and alters the shape of the pink blob - in the action. We could also remove the scaling bone and just move the pin bone up & down (around).

https://drive.google.com/file/d/1EAuBhT ... sp=sharing

Image
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
User avatar
hayasidist
Posts: 3525
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: position-scale driver

Post by hayasidist »

FWIW - a failed experiment from some time ago: use an object (e.g. a pin bone or even a shape) as the slider; have a layerscript that monitors the position of the object and sets the angle of smartbone(s) accordingly. All works great up to a point - the smartbone(s) move just as expected BUT the SB actions don't happen. :(
Daxel
Posts: 996
Joined: Wed Mar 27, 2019 8:34 pm

Re: position-scale driver

Post by Daxel »

SimplSam wrote: Tue Mar 05, 2024 2:14 pm
Daxel wrote: Tue Mar 05, 2024 12:50 pm I think he means he just tried, but noticed it wasn't possible.
You can use Scale (or Position) but it is convoluted. The example demonstrates using scale (or position) - Scale where the pin bone is parented to the top of the Scaling bone. The Smart bone then targets the pin bone - and alters the shape of the pink blob - in the action. We could also remove the scaling bone and just move the pin bone up & down (around).
I meant he meant it wasn't possible directly, but that example is going to be very useful for someone looking for that workarround. I'll add this video explanation from Mult Rush that was where I first heard about it:

https://www.youtube.com/watch?v=lY9__VuxU7M

I still have never used that technique after so many years. But I'm going to try it just to experiment. Thank you.
User avatar
MehdiZangenehBar
Posts: 22
Joined: Wed Feb 07, 2024 7:17 pm
Contact:

Re: position-scale driver

Post by MehdiZangenehBar »

OK guys, I should explain my goal again, I know we may be able to find a workaround for this using some hacks, tips and tricks, But I posted in the Feature Request forum, because this need a lower level of development. it should be done in the core programming. I need someone from Moho development see this topic.
User avatar
synthsin75
Posts: 9975
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: position-scale driver

Post by synthsin75 »

I'm sure everyone supports the feature request.

People are just trying to be helpful, in case you could use a solution in the meantime.
Post Reply