c75 Posted February 19, 2016 Share Posted February 19, 2016 Hello guys! Can you tell me function what I have to use after mesh-morphing to interact with the mesh? (interact seems trigger on positions before morphing) And I think, there is an error in a documentation. There must be one more `null` Url: http://doc.babylonjs.com/tutorials/How_to_dynamically_morph_a_mesh Quote Link to comment Share on other sites More sharing options...
c75 Posted February 19, 2016 Author Share Posted February 19, 2016 I think intersect does not work only with `extended` parts of mesh. For example if I have tube and stretch it - I can't pick it only on `stretched` part of tube. Quote Link to comment Share on other sites More sharing options...
jerome Posted February 19, 2016 Share Posted February 19, 2016 collisions rely on the mesh bounding box So, after each morphing operation, you must refresh the mesh bounding info : http://doc.babylonjs.com/classes/2.3/Mesh#refreshboundinginfo-rarr-void c75 1 Quote Link to comment Share on other sites More sharing options...
c75 Posted February 19, 2016 Author Share Posted February 19, 2016 Thank you @jerome ! 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.