GameMaker physics_test_overlap won't work properly

P

Pain9971

Guest
Hello guys,
I've got trouble with the physics_test_overlap function. I use the room physics. Recently I have used the place_meeting method but it's only for the image mask.
I want to use only physics functions so my game is calculated correctly.
But now my problem.
When I am using the physics_test_overlap like the place meeting method:

if(physics_test_overlap(phy_position_x+1,phy_position_y,phy_rotation,obj_test0)//phy_position_x and x
{
_col = "r";
}
the object get stuck because _col will be always "r"....

f(place_meeting(x+1,y,obj_test0)
{
_col = "r";
}

place meeting is working fine

Any suggestions guys?

Sincerely

Pain
 

Attachments

Top