[Notice of Holidays]
Please note that our staff will not be available from 2024/Dec/28 - 2025/Jan/5 JST.
The Live2D Creators Forum will remain open during the holidays.
Submissions that require a response will be answered after we reopen for business.
Please note that it will take longer than usual to respond to your request.
Disable Default live2d head sway motion in web SDK
Hi,
I'm trying out live2d sdk via CubismWebSamples example provided in github and I have come across a problem where a default idle motion plays for the loaded model even though I have no Idle animation in motion group.
I have loaded the model in live2d viewer and this motion does not seem to be playing. However this seems to be playing by default in web sdk. Could you please let me know what is causing this default motion to play and guide me on disabling this motion.
Below is the video link of the file opened in live2D Cubism Viewer where there is no head sway motion
https://drive.google.com/file/d/1jaEE78S3veerVuay1VPa346k9s5-jKuK/view?usp=drive_linkand below is the video link for web sdk which plays some default motion
https://drive.google.com/file/d/1BUzP2OmvnQF9bv8t8xXM1Qc4Pf0pT0c6/view?usp=drive_linkPlease let me know if any other detail is required.
Any help is appreciated
Thank you
0 ·
Comments
I cannot access your second video. Please grant me access.
And the model in the Live2D Sample app is set breath motion. Check the breath code and comment out or change breath setting if you need.
Hi,
I have provided access to the second video link . please check the video.
The breath animation is not a problem but the head sway motion in the second video could you please point out to what is causing it.
Thank you for your help😄
Hmm, after all the motion seem to be `breath` motion.
You can comment out following codes. (Breath setup code) to stop this motion.
https://github.com/Live2D/CubismWebSamples/blob/cd42c48e6d77b0c39218e7751fdfbd16b6401121/Samples/TypeScript/Demo/src/lappmodel.ts#L285-L296
p.s.
Live2D Breath is just cyclical motion, in fact.
Hi obsidian,
Thank you that seems to be the one causing that swaying motion. I was not expecting breath to be causing that motion.
Again thank you, Have a good day😄