Example #1
0
 public Fixture()
 {
     m_userData = null;
     m_body = null;
     m_next = null;
     m_proxies = null;
     m_proxyCount = 0;
     m_shape = null;
     m_filter = new Filter();
 }
Example #2
0
 public FixtureDef()
 {
     shape = null;
     userData = null;
     friction = 0.2f;
     restitution = 0f;
     density = 0f;
     filter = new Filter();
     _isSensor = false;
 }
Example #3
0
 /**
    * Contact filtering data;
    */
 public void setFilter(Filter filter)
 {
     this.filter = filter;
 }
Example #4
0
        /**
           * 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();
        }