public FixtureDef() { shape = null; userData = null; friction = 0.2f; restitution = 0f; density = 0f; filter = new Filter(); isSensor = false; }
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 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); }
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; } }
public FixtureDef() { shape = null; userData = null; friction = 0.2f; restitution = 0f; density = 0f; filter = new Filter(); isSensor = false; }
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 Fixture() { m_userData = null; m_body = null; m_next = null; m_proxies = null; m_proxyCount = 0; m_shape = null; m_filter = new 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(); }
public FixtureDef(){ shape = null; userData = null; friction = 0.2f; restitution = 0f; density = 0f; filter = new Filter(); isSensor = false; } }
public FixtureDef() { shape = null; userData = null; friction = 0.2f; restitution = 0f; density = 0f; filter = new Filter(); isSensor = false; }