SimApi Physics RemoveContantReport

From SIMboxWiki
Jump to navigation Jump to search

Icon attributes.pngstatic bool SimApi::Physics::RemoveContantReport(const int i_ContactReportHandle)

    Description

    Removes a contact report class instance from the contact notifications list

    Parameters

    i_ContactReportHandle - an integer handle returned from AddContactReport

    Return

    Type: bool   Description: true if successfull, false if not

    Remarks
    



    Code Sample
    

int reportH(-1);
reportH = SimApi::Physics::AddContactReport(&myContactReport);
bool hasRemoved = SimApi::Physics::RemoveContantReport(reportH);


    See Also

    AddContactReport