Koroldev Posted November 29, 2016 Share Posted November 29, 2016 Hi, dear programmers! I am making a decal blood like in this example http://www.babylonjs-playground.com/#1BAPRM#81 All works fine if my mesh is static, but when my mesh is animating then the decal take first frame and that all. I set skeleton for the decal, but does not metter, decal don't animates. Like on the screenshot, the left pic is when I shooted and the right pic is one sec after the shot: How I can do implement an animating decals? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 29, 2016 Share Posted November 29, 2016 Hello, you need to ensure that your decal also captures the vertex weight and indices. So far the decal only capture position, normal and uv: https://github.com/BabylonJS/Babylon.js/blob/master/src/Mesh/babylon.meshBuilder.ts#L929 Koroldev 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.