[SOLVED] Tweens Doesn't work as Intended

Sorry but you must be doing something wrong because when I test the script the part does turn correctly for me

Basically how the tween works is that it moves the zombie whilst turning the zombie for a short amount of time, then it goes back to usual moving. So if i lower tweenTime, the zombieā€™s speed will be very high for like 0.5 seconds then it will go back to normal. My main issue though is that the zombieā€™s orientation is like not turning at the right speed.

oh? does it have to be anchored or unanchored?

the cframe is 10% through the path and the zombie only turns like if the destination was all the way at the end of the path.

Iā€™m testing with the part anchored

are you keeping a visual indicator of where the part is facing? Because I placed a decal and the part isnā€™t rotating at all.

Yes I did and for me itā€™s rotating, Iā€™ll try to upload a video if it lets me

Link to the video

have you considered using this module?

2 Likes

donā€™t need that, I found the problem, I forgot to update the topic. But thanks anyways!

anytime!

also, out of curiosity, what did you end up doing to solve your issue?

1 Like

well, I had simply misunderstood my own code (LOL).
I just ended up offsetting the Orientation of the cframe variable, and it worked out.

1 Like

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