You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem? 1. create a Space object
2. try to set space.elasticIterations What is the expected output? What do you see instead? The expected output is that it will work and things will now be bouncy
again (using Chipmunk 4.1.0 or newer). I see an error message. What version of the product are you using? On what operating system? I use pymunk 0.8.1 and Chipmunk 4.1.0. Please provide any additional information below. It works if I type:
space._space.contents.elasticIterations = 10
I think this makes more sense:
space.elasticIterations = 10
In the svn version Ive added elastic_iterations as an argument to the Space
constructor in the same way as normal iterations are used. It will be included in the
next release.
I think it is both consistent with how the normal iterations work in the API, and
enough for 99.9% of the time for most if not all users. Therefor I will not change
anything else, at least not until you or someone else give me a good reason to expose
it as a property, but thanks for the report :)
(Maybe its time for that soon, there have been some fixes and at the same time
Chipmunk doesnt seem to be close to a major release)
From jakob.fr...@gmail.com on February 18, 2009 03:31:50
What steps will reproduce the problem? 1. create a Space object
2. try to set space.elasticIterations What is the expected output? What do you see instead? The expected output is that it will work and things will now be bouncy
again (using Chipmunk 4.1.0 or newer). I see an error message. What version of the product are you using? On what operating system? I use pymunk 0.8.1 and Chipmunk 4.1.0. Please provide any additional information below. It works if I type:
space._space.contents.elasticIterations = 10
I think this makes more sense:
space.elasticIterations = 10
THANKS FOR THIS GREAT BINDING! :D
Original issue: http://code.google.com/p/pymunk/issues/detail?id=18
The text was updated successfully, but these errors were encountered: