[Bugs] #990 LOW: Unpin object

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Sun Jun 28 15:31:20 EDT 2009

#990: Unpin object
    Reporter:  erikos       |          Owner:  garycmartin                
        Type:  enhancement  |         Status:  accepted                   
    Priority:  Low          |      Milestone:  Unspecified by Release Team
   Component:  Physics      |        Version:  Unspecified                
    Severity:  Minor        |     Resolution:                             
    Keywords:               |   Distribution:  Unspecified                
Status_field:  New          |  
Changes (by brian):

 * cc: brian, sirkne at gmail.com (added)


 Looking through the
 [http://pybox2d.googlecode.com/svn/epydoc/html/index.html pybox2d docs],
 the B2Body.GetJointList() should return a list of b2JointEdges, which have
 an attribute .joint which can be destroyed with

 But I'm finding that .GetJointList() is returning a b2JointEdge (instead
 of a list of edges), and that the b2JointEdge returned does not have an
 attribute .joint.

 Maybe we need to upgrade the version of pybox2d in Physics to get this
 functionality?  CCing Kne -- what do you think?

 Replying to [comment:4 garycmartin]:
 > Thanks Asaf, I guess the trick will be making sure a single destroy tool
 smartly does either operation based on context. i.e. if you are near
 enough to a joint/pin/motor remove it, otherwise try to destroy the body.

 +1, that UI makes sense.

Ticket URL: <http://dev.sugarlabs.org/ticket/990#comment:5>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system

More information about the Bugs mailing list