not sure if this is a bug, but...
whenever i try to get the userdata of a shapebody of a contactpoint, my program crashes.
e.g. in the demo_main.py of the testbed, i add the line:
in the handleCall function, after the line
i get an error:
btw, this also happens, when i try to GetUserData of a contactpoint-shape before or after the StepFunction...
is this a bug or what am i doing wrong?
greetz
p.s. i am using winxp, python 2.5, pyBox2D-2.0.2b0.win32-py2.5.exe
whenever i try to get the userdata of a shapebody of a contactpoint, my program crashes.
e.g. in the demo_main.py of the testbed, i add the line:
Code:
print cp.shape1.GetBody().GetUserData()
in the handleCall function, after the line
Code:
cp.state = state
i get an error:
Code:
Fatal Python error: (pygame parachute) Segmentation Fault
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
btw, this also happens, when i try to GetUserData of a contactpoint-shape before or after the StepFunction...
is this a bug or what am i doing wrong?
greetz
p.s. i am using winxp, python 2.5, pyBox2D-2.0.2b0.win32-py2.5.exe