HexDump
29-12-2007 16:46:52
Hi all,
I have read a lot of the topics in the forum. I have followed the examples but can´t make contact callback work.
I have setup a material, a pair and a callback to be called, but bodies in contanct just are not calling my callback.
I have made my wolrd the correct size and one object is stand still but the other is moving with SetStandardForceCallback();.
Do anybody know what could be hapenning? The only strange thing I see in my code is this m_pMatPairEntityEntity->(new OgreNewt::MaterialPair( m_pPhysicWorld, m_pEntityMaterial, m_pEntityMaterial ), that is a simple pair for collisions between entities (both with same material).
Thanks in advance, Help would be greatly apreciated,
HexDUmp.
I have read a lot of the topics in the forum. I have followed the examples but can´t make contact callback work.
I have setup a material, a pair and a callback to be called, but bodies in contanct just are not calling my callback.
I have made my wolrd the correct size and one object is stand still but the other is moving with SetStandardForceCallback();.
Do anybody know what could be hapenning? The only strange thing I see in my code is this m_pMatPairEntityEntity->(new OgreNewt::MaterialPair( m_pPhysicWorld, m_pEntityMaterial, m_pEntityMaterial ), that is a simple pair for collisions between entities (both with same material).
Thanks in advance, Help would be greatly apreciated,
HexDUmp.