-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r152 Skinned Mesh and Raycasting issue #25953
Comments
This piece of code is involved in all of these:
|
Another (very important) note: in case of static meshes (see Claire), everything is still working fine. |
Do you mind using the non-minified version of |
Here is the working 150 version: https://necromanthus.com/Test/html5/testA_disco_150.html
I will prepare one asap |
The minified 152bis version is resulted from the current three.js file processed by Google Closure Compiler with this command line: Reason: The SEA3D loader needs ES5. |
Is it possible to share the Lara model as a glTF asset? I want to inspect the skeleton and the bounding sphere of the skinned mesh in the three.js editor in more detail. BTW: It seems the dog asset shows the same issue. So sharing this one would also be fine. |
One thing that would be interesting to test is the recomputation of the bounding spheres for the animated dog and Lara. What happens if you add the following two lines in your animation loop: dog.computeBoundingSphere();
lara.computeBoundingSphere(); |
Sure.
I will try now |
No change. |
Um, not sure what's going wrong yet. Do you mind making a quick test with |
Where can I find the r151 three.js file? |
Yes, I found it. |
That's good! Since three.js/src/objects/SkinnedMesh.js Lines 100 to 111 in d50cf0c
Could please make a test by removing it from the build so the class uses the implementation from |
I've put them all here: |
With that part removed from 152, everything is perfect again. |
Description
Guys, I found another one.
Everything was just fine in r150 (and before that).
152 sample: https://necromanthus.com/Test/html5/testA_disco.html
Reproduction steps
Try to aim at Lara (now it's a real russian roulette).
When red fire a "bullet" and that will freeze her.
Now check out her frozen skinned mesh: the result is a complete mess.
It also depends on your position around her, why is that ???
Code
// You should be aware of the code changes
Live example
https://necromanthus.com/Test/html5/testA_disco.html
Screenshots
No response
Version
152
Device
Desktop, Mobile
Browser
Chrome, Firefox, Safari, Edge
OS
Windows
The text was updated successfully, but these errors were encountered: