public Fixture() { m_userData = null; m_body = null; m_next = null; m_proxies = null; m_proxyCount = 0; m_shape = null; m_filter = new Filter(); }
public FixtureDef() { shape = null; userData = null; friction = 0.2f; restitution = 0f; density = 0f; filter = new Filter(); _isSensor = false; }
/** * Contact filtering data; */ public void setFilter(Filter filter) { this.filter = filter; }
/** * Set the contact filtering data. This is an expensive operation and should not be called * frequently. This will not update contacts until the next time step when either parent body is * awake. This automatically calls refilter. * * @param filter */ public void setFilterData(Filter filter) { m_filter.set(filter); refilter(); }