hedkaoz Posted January 28 Posted January 28 Sorry for the lack of knowledge, I'm working with fractures, however in the examples and tutorials that I've seen they usually use just that code "body_cast" and looking in documentation it says that I need to use the unigine.h library, my problem is that I'm using C# and I don't know how to import it and just by typing body_cast or class_cast it doesn't recognize it, could you help me? Also when I create a normal fracture component of the "cracking" type, when i crack the object it is still there but i can't see, if it's a cube sometimes there are some pieces that fly over an invisible cube.
silent Posted January 29 Posted January 29 Hello! Maybe this topic would help? There is a code snippet that show how to use BodyFracture: https://developer.unigine.com/forum/topic/6375-solved-c-code-of-fracture-body-complex-tringles-mesh-or-simple-tringles-mesh/#findComment-44753 You can also C# docs for BodyFracture (not UnigineScript): https://developer.unigine.com/en/docs/latest/api/library/physics/class.bodyfracture?rlang=cs&autotranslate=en Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts