Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
IntegrationParameters passed to ForceGenerator have constant dt #153
While playing with nphysics, I modified the example with a stack of blocks so they are affected by force that is changing in time. Here is my code:
The force generator is simply added to the word for every object:
What I see is params.dt is always the same value which looks like to be the default one. I am pretty sure I missed some additional setup for the world, what did I miss?
Though it seems useful to add a variable