KX_CollisionSensor(SCA_ISensor) =============================== base class --- :class:`SCA_ISensor` .. class:: KX_CollisionSensor(SCA_ISensor) Collision sensor detects collisions between objects. .. attribute:: propName The property or material to collide with. :type: string .. attribute:: useMaterial Determines if the sensor is looking for a property or material. KX_True = Find material; KX_False = Find property. :type: boolean .. attribute:: usePulseCollision When enabled, changes to the set of colliding objects generate a pulse. :type: boolean .. attribute:: hitObject The last collided object. (read-only). :type: :class:`KX_GameObject` or None .. attribute:: hitObjectList A list of colliding objects. (read-only). :type: :class:`EXP_ListValue` of :class:`KX_GameObject` .. attribute:: hitMaterial The material of the object in the face hit by the ray. (read-only). :type: string