angus.wood Posted September 26, 2014 Posted September 26, 2014 Hi, I have an ObjectMeshSkinned which is two human characters. I bind and play an animation to the ObjectMeshSkinned. Each character is a single surface. I wish to detect when the surfaces (characters) touch so that I can do some effects but I cannot work out how to do this. Is it possible?
silent Posted September 29, 2014 Posted September 29, 2014 Hello, Angus! I'm afraid you shoud make two separate objects from your current one to get the correct collision detection. After that you can setup ragdoll and contact callbacks (please, check physics/ragdoll_05 sample). Also, this thread may be useful in your case: https://developer.unigine.com/forum/topic/2284-solved-defenition-of-intersection-of-two-meshes-during-an-animation/page-2 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