Ok i admit I’m Desperate,
I have a physic object witch i can grab and move… Let’s say an Axe. My Axe is made from metal (the Top) and wood for the handle. Now as I told before, the axe is subjected to simulate physic, so as you can imagine no possibility to use complex collision option.
I assigned two materials to the axe, one for the metal and one for the wood. To each material i assigned a Physic material but since the collision cannot set up to complex collision, on event hit i always can access only to one physic material for simple collision.
I was sure to have found the the light to the end of the tunnel with the command “get material from collision face index”. But nothing, I always obtain on event Hit just the first material and never the second.
I only manage to detect on event hit Two different Physic material by setting up the option use complex collision as simple.
The question is… Is it possible to detect on event hit two different material index or name applied to one mesh which have to be physic simulated?
As you can imagine what i m trying to replicate is that if the axe collide a wall with the metal part it will be fix on the wall, otherwise if will hit with the wood side it will just collide the wall and fall down on the floor.
Can some one help me? After several ours of research i was not aple to solve the problem.
Thank you in advance