2 Attachment(s)
MMF 2 Bug - Set decelleration to 0
Build 249 - I have a few cars driving around a street. With some code to change the decelleration in bounce case. I always resetted the speed back to original, and the decelleration back to 0 when done. But my cars became slower after a short while after i had changed the decelleration. So i had a look at it and found out that the resetting to 0 does not really work once the decelleration was changed.
Attached an example where you can see the problem more clearly. Four simple lines of code. I let an active bounce at another active. And then i restore the speed and set the decelleration back to 0. Open the debugger. You will see that the active looses permanently speed now.