#1 Joints do not allow you to set arbitrary attributes

closed
nobody
None
5
2005-06-24
2005-02-12
Anonymous
No

joint = ode.BallJoint(world)
joint.somevarname = 'test'

gets an error: AttributeError: 'ode.BallJoint' object
has no attribute 'somevarname'

However, doing it with a body object does work.

kallahar@quickwired.com

Discussion

  • Matthias Baas

    Matthias Baas - 2005-06-24
    • status: open --> closed
     
  • Matthias Baas

    Matthias Baas - 2005-06-24

    Logged In: YES
    user_id=211477

    I've modified the joints so that they can now also store arbitrary
    attributes.
    (Actually, this is not a bug, but normal behavior of extension types
    in contrast to Python types. The functionality to store arbitrary
    attributes has to be implemented explicitly)

    - Matthias -

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks