wieszak17
I have some object in scene with multiple materials. User clicks mouse button so i do rayoctreequery to find out what he hit. Ok, i got reference to that object, but i also need to know which material is at hit point. Something like some paint tools to apply on object’s parts defined by material used. How i can get material index on that object?