Jump to content

Detecting intersections / colllisions of meshes


photo

Recommended Posts

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?

Link to comment

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:

Link to comment
×
×
  • Create New...