Surface Attribute ?

Elril
Posts: 2
Joined: Mon Jul 16, 2007 1:27 pm

Surface Attribute ?

Post by Elril »

Hi everybody,

I am currrently looking for a way to tag a surface with a user property, or set a surface attribute and I didn't find one.

In fact, I would like to be able to set an attribute to a polygon when I add one to a btTriangleShape. I need to be able to access this attribute in the btManifoldPoint. Is anyone who knows if there a way to do this ?

Should I develop myself a way to do this? For instance can I add a attribute tab in the btTriangleShape and modify the collision callback to be able to access this attribute list?

Thanks