Page MenuHome

game engine: implement hitMaterial for collision and ray sensors
ClosedPublic

Authored by Dalai Felinto (dfelinto) on Jan 2 2014, 2:17 PM.

Diff Detail

Branch
raysensor-hitMaterial

Event Timeline

Looks good to me.

@Daniel Stokes (kupoman) did you test it? if so I'll push the patch. I didn't have time to test the code though (other than that it builds).

I did not test it. I don't suppose you happen to have a file handy to test this with?

I haven't tested it, but the code looks good to me. It would be nice to rework how materials interact with the physics system, but this should be nice to have in the mean time.

Dalai Felinto (dfelinto) updated this revision to Unknown Object (????).Jan 24 2014, 5:09 AM

Final version, about to commit (no differences, just updated to trunk)

Work only for checking first material index in object, this feature useless yet.