Unfortunately, that thread is now outdated, and it is recommended to use a contact callback function instead. That's fine, but I can't get it to work. I set
ignoreContact
to true
and collisionResponse
to false
, but, while the function is definitely being called, the robot stubbornly refuses to phase through the wall.Code: Select all
function sysCall_contactCallback(inData)
sim.addStatusbarMessage("Collision callback triggered.")
local retData={}
retData.ignoreContact=true -- handle contact here
retData.collisionResponse=false
return retData
end
What's the best solution to this in the current version of V-REP?