/** * 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(final Filter filter) { m_filter.set(filter); refilter(); }
public FixtureDef() { shape = null; userData = null; friction = 0.2f; restitution = 0f; density = 0f; filter = new Filter(); isSensor = false; }
m_filter.set(def.filter);
public Fixture() { m_userData = null; m_body = null; m_next = null; m_proxies = null; m_proxyCount = 0; m_shape = null; m_filter = new 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(final Filter filter) { m_filter.set(filter); refilter(); }
/** Set the contact filtering data. This will not update contacts until the next time step when either parent body is active and * awake. This automatically calls Refilter. */ public void setFilterData (Filter filter) { org.jbox2d.dynamics.Filter f = new org.jbox2d.dynamics.Filter(); f.categoryBits = filter.categoryBits; f.groupIndex = filter.groupIndex; f.maskBits = filter.maskBits; fixture.setFilterData(f); }
m_filter.set(def.filter);
public org.jbox2d.dynamics.FixtureDef toJBox2d () { org.jbox2d.dynamics.FixtureDef fd = new org.jbox2d.dynamics.FixtureDef(); fd.density = density; fd.filter = new org.jbox2d.dynamics.Filter(); fd.filter.categoryBits = filter.categoryBits; fd.filter.groupIndex = filter.groupIndex; fd.filter.maskBits = filter.maskBits; fd.friction = friction; fd.isSensor = isSensor; fd.restitution = restitution; fd.shape = shape.shape; return fd; } }
/** * 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 filter */ public void setFilterData(final Filter filter) { this.filter.set(filter); refilter(); }
public FixtureDef() { shape = null; userData = null; friction = 0.2f; restitution = 0f; density = 0f; filter = new Filter(); isSensor = false; }
/** * 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(final Filter filter) { m_filter.set(filter); refilter(); }
public Fixture() { m_userData = null; m_body = null; m_next = null; m_proxies = null; m_proxyCount = 0; m_shape = null; m_filter = new 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(final Filter filter) { m_filter.set(filter); refilter(); }
public Fixture() { m_userData = null; m_body = null; m_next = null; m_proxies = null; m_proxyCount = 0; m_shape = null; m_filter = new Filter(); }
m_filter.set(def.filter);
public FixtureDef(){ shape = null; userData = null; friction = 0.2f; restitution = 0f; density = 0f; filter = new Filter(); isSensor = false; } }
m_filter.set(def.filter);
public FixtureDef() { shape = null; userData = null; friction = 0.2f; restitution = 0f; density = 0f; filter = new Filter(); isSensor = false; }
isSensor = def.isSensor(); filter.set(def.getFilter()); shape = def.getShape().clone();
public Fixture() { m_userData = null; m_body = null; m_next = null; m_proxies = null; m_proxyCount = 0; m_shape = null; m_filter = new Filter(); }