How can I limit the movement of object tied to a bone?
Moderators: Víctor Paredes, Belgarath, slowtiger
How can I limit the movement of object tied to a bone?
I need to create some object and make sure that this object don't cross certain area, which I'll draw.
I've seen a lot of videos where people do that, but I still don't understand how to do this cause nobody of them don't show the process of creating a scene.
So I will be very grateful for the help.
I've seen a lot of videos where people do that, but I still don't understand how to do this cause nobody of them don't show the process of creating a scene.
So I will be very grateful for the help.
Re: How can I limit the movement of object tied to a bone?
Can you post an example of the issue? I'm not sure if you're asking about constraining bone movement or something else.
If you want to constrain bone movement, look under the Bone Constraints menu after selecting the bone. From there, you can constrain IK movement, rotation, etc.
Or are you talking about limiting movement of an item with a Smart Bone action? If so, set the maximum rotation of your Smart Bone and the final key pose of your animation to the same last keyframe in the action. Then, when you turn the Smart Bone while in the mainline, the animation will never go farther than the pose in that last keyframe of the action. If you're new to Smart Bones, be sure to read the tutorial that comes with Moho.
If you're talking about something else, you'll need to explain more clearly what you're trying to do, and maybe post screen caps with notes.
If you want to constrain bone movement, look under the Bone Constraints menu after selecting the bone. From there, you can constrain IK movement, rotation, etc.
Or are you talking about limiting movement of an item with a Smart Bone action? If so, set the maximum rotation of your Smart Bone and the final key pose of your animation to the same last keyframe in the action. Then, when you turn the Smart Bone while in the mainline, the animation will never go farther than the pose in that last keyframe of the action. If you're new to Smart Bones, be sure to read the tutorial that comes with Moho.
If you're talking about something else, you'll need to explain more clearly what you're trying to do, and maybe post screen caps with notes.
Last edited by Greenlaw on Tue Jul 10, 2018 7:09 pm, edited 1 time in total.
NEW! Visit our Little Green Dog Channel on YouTube!
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
- hayasidist
- Posts: 3831
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: How can I limit the movement of object tied to a bone?
??? moving some object so it doesn't go in front of another??? -- (static or animated) layer order? masking?BorisSt wrote:I need to create some object and make sure that this object don't cross certain area, which I'll draw.
Re: How can I limit the movement of object tied to a bone?
I need the object to always be aimed at the bone, but not cross a certain area I've set.
In other words, I attached two photos and I need the red circle to stay within the white circle, but always aim for the bone wherever it goes (even if the bone goes beyond the white circle, the red circle should remain within the white circle).
I hope you understand what I mean. Sorry for my bad english


In other words, I attached two photos and I need the red circle to stay within the white circle, but always aim for the bone wherever it goes (even if the bone goes beyond the white circle, the red circle should remain within the white circle).
I hope you understand what I mean. Sorry for my bad english



- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: How can I limit the movement of object tied to a bone?
Something like this?
http://www.filedropper.com/stayincircle
There's also a better way that requires scaling one rotating bone to .01 on frame one and setting its Max IK Scaling to 100.
http://www.filedropper.com/stayincircle
There's also a better way that requires scaling one rotating bone to .01 on frame one and setting its Max IK Scaling to 100.
Last edited by synthsin75 on Tue Jul 10, 2018 9:38 pm, edited 1 time in total.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: How can I limit the movement of object tied to a bone?
Unfortunately I couldn't open the file. Can you send screenshots of your work?


- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: How can I limit the movement of object tied to a bone?
Are you not using Moho 12?
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: How can I limit the movement of object tied to a bone?
No, I use Anime Studio Pro 11.
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: How can I limit the movement of object tied to a bone?
http://www.filedropper.com/stayincircle_1BorisSt wrote:No, I use Anime Studio Pro 11.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: How can I limit the movement of object tied to a bone?
Nice demo file Wes!
@BorisSt
Quick description of Wes' setup: parent a second bone to the setup you currently have, and bind the dot to the end of the second bone. The dot should be at the edge of the circle, not the center. Next, add a third bone (unparented) as a target for the second bone.
Animate the target bone and the IK in the first two bones will allow the dot will follow it. If you move the target outside of the circle, the first two bones will extend only up to the edge of the circle and keep the dot inside.
This should work in ASP 11, and I think as far back as 10 or 9.5.
@BorisSt
Quick description of Wes' setup: parent a second bone to the setup you currently have, and bind the dot to the end of the second bone. The dot should be at the edge of the circle, not the center. Next, add a third bone (unparented) as a target for the second bone.
Animate the target bone and the IK in the first two bones will allow the dot will follow it. If you move the target outside of the circle, the first two bones will extend only up to the edge of the circle and keep the dot inside.
This should work in ASP 11, and I think as far back as 10 or 9.5.
Last edited by Greenlaw on Tue Jul 10, 2018 10:16 pm, edited 1 time in total.
NEW! Visit our Little Green Dog Channel on YouTube!
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
Re: How can I limit the movement of object tied to a bone?
This is exactly what I needed, thank you all very much! 

- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: How can I limit the movement of object tied to a bone?
Here's the best way to do it, and it does work in AS11.
http://www.filedropper.com/stayincircle_2
The red circle is point bound to the tiny bone pointing down, with independent angle (so it doesn't spin). The rotating bone is scaled to .01 on frame zero*, has its Max IK Scaling set to 100, and is targeting the unparented bone pointing up.
This is better because the red circle doesn't spin and it's not as fiddly to set up so it can reach dead center.
*I meant frame one.
http://www.filedropper.com/stayincircle_2
The red circle is point bound to the tiny bone pointing down, with independent angle (so it doesn't spin). The rotating bone is scaled to .01 on frame zero*, has its Max IK Scaling set to 100, and is targeting the unparented bone pointing up.
This is better because the red circle doesn't spin and it's not as fiddly to set up so it can reach dead center.
*I meant frame one.
Last edited by synthsin75 on Wed Jul 11, 2018 7:10 pm, edited 1 time in total.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: How can I limit the movement of object tied to a bone?
I got it, thanks again for the files and information about.
I'll choose the right way for my scene.
I'll choose the right way for my scene.

- hayasidist
- Posts: 3831
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: How can I limit the movement of object tied to a bone?
good demo Wes!