How do I move points without shape deformation ?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
9300
Posts: 3
Joined: Wed Nov 16, 2022 11:25 pm

How do I move points without shape deformation ?

Post by 9300 »

Hi, when I import .ai files from illustrator like square and select one side (like 2 point) and start to drag it cause inflation and it is not square or rectangle anymore.
there is bezier handles in every corner and they start to go beyond 90 degrees by themselves and angle in every corner become more than 90.
is there any tips in moho to animate with points ?
imagine i want stretch text animation but if shapes loose their origin then it is useless.
User avatar
Greenlaw
Posts: 10382
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: How do I move points without shape deformation ?

Post by Greenlaw »

It would help if you posted examples of what you're seeing, but based on the text description I can tell you that animating Bezier points can be tricky. Here are some tips: try keyframing the curvature of the points at frame 1 before you start animating them on later frames. This will force Moho to maintain the curvature settings until you change them. You might also want to enable Fixed Bezier Handles...this will prevent the unselected handles from rotating.

In general, I avoid using Bezier points for deforming shapes because they can behave unpredictably. When using regular (non-Bezier) points, you may need to add more points to get the same shapes created using Bezier, but the regular points will be easier to animate. To prevent me from accidentally activating Bezier points, I disable the handles. (To disable the handles for the Curvature tool, you should install Synthsin75's Curvature Tool mod.) On the chance I unintentionally activate a Bezier point, I reset it by selecting the point and clicking the Peak or Smooth button in Curvature (or use the buttons on my MQC panel.) This resets the point to their default regular point mode.

Of course, in your case, since you're importing artwork from Illustrator, switching to regular points is likely to alter your artwork drastically. But if you are animating with Bezier points in Moho, regardless of where the artwork was created, you need to be aware of the the above.

BTW, this isn't a bug, it's just the nature of animating with Beizer points vs regular points.

Hope this helps.
jowzi
Posts: 9
Joined: Tue Nov 22, 2022 8:41 am

Re: How do I move points without shape deformation ?

Post by jowzi »

good question ,waiting for more replys !!
Last edited by jowzi on Tue Nov 26, 2024 12:43 am, edited 3 times in total.
User avatar
Lukas
Posts: 1336
Joined: Fri Apr 09, 2010 9:00 am
Location: Netherlands
Contact:

Re: How do I move points without shape deformation ?

Post by Lukas »

I think the main problem is with how Moho handles the bezier handle position when animating points.

Example:
  • Draw a circle with the Draw Shape tool on frame 0.
  • Move the top point with the Transform Points tool on frame 50 with 'Fixed Bezier Handles' active.
  • Notice how the bottom half of the circle changes shape when when playing from 0 to 50! Bezier handles are not actually fixed.
I understand why it behaves this way, because in the past Moho didn't even have Bezier handles that you could adjust. There was just a smooth value that adjusts the intensity of the curve based on the at the time unexposed handles.

Unfortunately, with the new bezier system in place, there has not been an upgrade to the way handles behave. In the circle example, you really don't want the bottom half of the circle to change shape when moving the top point. Maybe sometimes, so if this was updated I would suggest a 'legacy bezier' checkbox for vector layers so old rigs don't break. (Or a 'fixed bezier handles' option or an option per handle, it's probably a huge undertaking for the devs). Ideally, we could do with the handles whatever we want and only have them being adjusted when the user wants it. For example, I have many use cases like the circle where things should just stay in their position. I would even like to 'bezier-handle-bind' a handle point directly to a bone in the same way we can 'point-bind' and not have the bezier handle be influenced by other points.



Aaaanyway, for a simple square shape, you could try to select the points and hit Ctrl+P / Cmd+P to peak the curvature. But it only fixes the problem for simple situations.
Post Reply