Public Member Functions | List of all members
b2ContactFilter Class Reference

#include <b2WorldCallbacks.h>

Public Member Functions

virtual bool ShouldCollide (b2Fixture *fixtureA, b2Fixture *fixtureB)
 
virtual ~b2ContactFilter ()
 

Detailed Description

Implement this class to provide collision filtering. In other words, you can implement this class if you want finer control over contact creation.

Definition at line 52 of file b2WorldCallbacks.h.

Constructor & Destructor Documentation

virtual b2ContactFilter::~b2ContactFilter ( )
inlinevirtual

Definition at line 55 of file b2WorldCallbacks.h.

Member Function Documentation

bool b2ContactFilter::ShouldCollide ( b2Fixture fixtureA,
b2Fixture fixtureB 
)
virtual

Return true if contact calculations should be performed between these two shapes.

Warning
for performance reasons this is only called when the AABBs begin to overlap.

Definition at line 24 of file b2WorldCallbacks.cpp.


The documentation for this class was generated from the following files:


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:52