For a few rigid bodies, I want to change the collision response type.
For example, I have 5 rigid bodies, A, B, C, D and E.
They are all exported from 3ds MAX.
While loading the HKX file, I want to change the collision response of A and B.
So I do this:
if(rigid-body is A or B) then
hkpMaterial &mat = pRigidBody->getMaterial() ;
My question here is:
Is the "hkpMaterial" shared among multiple rigid bodies?
if I do the above, will it change the properties for the other rigid bodies?