Sorry, ENABLE_FRICTION is missing in A6.0- thus you can not have an event handler for phent vs. phent collisions.
I was also pondering the PH_CANCEL_CONTACT idea and it does not seem that useful anymore, as it could lead to object getting stuck halfway in between walls.
So for A6.1 ENABLE_FRICTION/EVENT_FRICTION will be defined but only for querying contact data.
EDIT: Just checked again, and phent vs. level collisions do work
code:
{
action Init()
{
phent_settype(my,ph_rigid,ph_sphere);
phent_setmass(my,4,ph_sphere);
my.enable_block= on;
my.EVENT = bounce_event;
}
function bounce_event()
{
breakpoint;
target.x= target.x; // point of impact
target.y= target.y;
target.z= target.z;
}