met4citizen / TalkingHead

Talking Head (3D): A JavaScript class for real-time lip-sync using Ready Player Me full-body 3D avatars.
MIT License
349 stars 107 forks source link

ikSolve and disappeared bones #40

Closed branaway closed 6 months ago

branaway commented 6 months ago

Double clicks on the avatar body would cause the hand movements towards the points. But the hands and fingers would disappear when the camera is too close to the subject. see the attachments. Screen Shot 2024-05-13 at 16 27 55 Screen Shot 2024-05-13 at 16 27 16

met4citizen commented 6 months ago

Thanks. The issue is not directly related to ikSolve. For some reason, three.js decides that the object is outside the view frustum and it is culled from the rendering process. The only workaround I can think of is to set the frustumCulled property to false. I'll make the change.

branaway commented 6 months ago

Thanks for the update.