Glitches while slow dancing

I’ve been making a ballroom dancing scene, and for some reason, weird things happen.
image
This guy is supposed to be dancing :sob:
The exact same code worked 5 minutes ago, but now he’s just standing idly. This has happened before.
image
This is the code. You might see that both of them are facing right, which is weird, but for some reason, with the male ball dancing animation, sometimes, they face right when you tell them to face left and vice versa. It’s weird, and I don’t know if it’s just me.
Sometimes it works, sometimes it doesn’t. When I make both of them face right and I preview it in the web previewer, it looks fine and it looks like they’re dancing properly. But then, I preview it a second time without changing any code, and it looks like this:
image
It’s really weird. Sometimes, it works, and sometimes it doesn’t. It works with some people but not with others. How do I fix it? I’m confused :sob:

1 Like

Try doing
@/CHAR starts dance_animation and CHAR faces right

instead of separate lines. Idk if that’ll do anything but it’s worth a shot. lol

It might also be a good idea to send in a support ticket. There’s been a lot of animation glitches (like an animation not working for “body type” but another character of the same can do the animation).

I tried it
image
This happened
image
lol

1 Like

I’m sorry you’re having this problem, hon. The only thing I think you can do is send a support ticket and let them know of this glitch.

Have you tried a different dance animation to see if he’ll turn the right direction?

You are making Ryan face left that’s why he is facing right. Remember that when coding rear animations, you have to make them face the opposite way.

2 Likes

I didn’t even notice she changed the right to left in the second post. lol

1 Like

I tried it, now he’s not dancing :sob:
image

Lol :upside_down_face: Can you show us your script? The part where you are coding those characters.

image
this is the part of the script where i coded them

It’s strange that he’s not doing the animation since the code seems to be correct :thinking:

You could try compressing the code a little bit, like this (I’ve tried it out with some random characters and it works):

&RYAN walks to spot 0.785 47 168 in zone 2 then RYAN starts dance_slow_neutral_loop_rear and RYAN faces right
@LILY walks to spot 0.767 47 162 in zone 2 then LILY starts dance_slow_neutral_loop and LILY faces right

However, if this does not work, maybe some other part of the script is making it glitch.

2 Likes

it works, thank you

1 Like

You haven’t specified in the “walks to” how long it will run for and timings are a bit random when previewing in web preview. If the character is still doing the “walks to” when the code gets to the next animation in your script, it just ignores it.

@Juliett 's answer is perfect because the “then” guarantees the animation will always run after the character finishes walking.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.