Hi,

Some tip :

By default Character controllers don't push bodies (I think I saw some complaints on this with the physX plugin). If needed, that can be done using cct collision event (and can depend on other properties, like object mass, character strength, ...).

1. ENABLE_FRICTION for the CCT
Code:
cct->event = cct_event;
cct->emask |= ENABLE_FRICTION;



2. Push bodies in the event handler
Code:
/// \brief CCT event handling
///
void cct_event()
{
   VECTOR hit_dir;
   vec_set(hit_dir, hit.blue); // Hit direction is stored on the (red, green blue) :)
   
   var hit_length = hit.alpha; // Hit length is stored on the alpha :)
   
   if (hit_dir.z == 0)                              
   {
      var coeff = pX3ent_getmass(you) * hit_length / 40; // Scale to meter 
         
      // Set force to impulse
      pX3_setforcemode(PX_IMPULSE);
      vec_scale(hit_dir, coeff);
      //set(you, TRANSLUCENT);
      pX3ent_addforceatlocalpos(you, hit_dir, nullvector);
      
   }
}



More complete documentation soon.

Quote:
// Hit direction is stored on the (red, green blue) laugh

Sorry for that, but I wanted to use the CONTACT struct, so I choose what was available. grin