[FIXED]2.0.2b15 Undoing changes penetration status
7 posts • Page 1 of 1
[FIXED]2.0.2b15 Undoing changes penetration status
Edit: (by tatt61880 on 2013.02.21 00:32)
Fixed in 2.1.0b4 (or earlier). Thanks
This bug can be reproduced with 2.0.2 b15 or earlier.
-Tatt
----
Since Phun.
== How to reproduce bug ==
[scene]63122[/scene]
Trying next script will increase Sim.tick and box will move. -> No problem.
(Download the scene again.)
Trying next script will also increase Sim.tick but box won't move. -> Strange!
I guess this issue happens because undoing initializes penetration info, incorrectly.
Serializing penetration info into scene data may solve this issue.
This can be a causes of randomness. c.f. Causes of randomness
Fixed in 2.1.0b4 (or earlier). Thanks
This bug can be reproduced with 2.0.2 b15 or earlier.
-Tatt
----
Since Phun.
== How to reproduce bug ==
[scene]63122[/scene]
Trying next script will increase Sim.tick and box will move. -> No problem.
- Code: Select all
for(5, (n)=>{App.Step;})
(Download the scene again.)
Trying next script will also increase Sim.tick but box won't move. -> Strange!
- Code: Select all
for(5, (n)=>{App.Step; App.Step; App.undo})
I guess this issue happens because undoing initializes penetration info, incorrectly.
Serializing penetration info into scene data may solve this issue.
This can be a causes of randomness. c.f. Causes of randomness
Last edited by tatt61880 on Wed Feb 20, 2013 5:33 pm, edited 2 times in total.
Reason: Fixed!
Reason: Fixed!
NOTE: I'm not an Algoryx member.
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
-

tatt61880 - [Most Helpful Person 2010]
- Posts: 1150
- Joined: Mon Aug 31, 2009 5:45 pm
- Location: Tokyo, Japan
Re: 2.0.2b15 Undoing changes penetration status
Whether or not the box moves with each sim.tick seems to be dependent on the "vel" value. If I set vel = [0.0,0.0] then the box does not move. Does this make sense?
-

Xray - Posts: 501
- Joined: Sun Jun 17, 2012 6:12 am
- Location: USA
Re: 2.0.2b15 Undoing changes penetration status
intended. app.step is for debug only
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: 2.0.2b15 Undoing changes penetration status
intended?
I don't think so.
I don't think so.
NOTE: I'm not an Algoryx member.
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
-

tatt61880 - [Most Helpful Person 2010]
- Posts: 1150
- Joined: Mon Aug 31, 2009 5:45 pm
- Location: Tokyo, Japan
Re: 2.0.2b15 Undoing changes penetration status
tatt61880 wrote:intended?
I don't think so.
Yes, I'm absolutely sure, Emil add it for benchmark texting and so on.
For checkpoints there is dedicated function App.AddUndoPoint
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: 2.0.2b15 Undoing changes penetration status
tatt61880 wrote:Trying next script will also increase Sim.tick but box won't move. -> Strange!
- Code: Select all
for(5, (n)=>{App.Step; App.Step; App.undo})
You are taking two steps and undoing one. Don't act surprised that not everything is undone
Emil Ernerfeldt, lead developer
- emilk
- Posts: 616
- Joined: Mon Aug 31, 2009 11:01 am
- Location: Umeå, Sweden
Re: 2.0.2b15 Undoing changes penetration status
emilk wrote:tatt61880 wrote:Trying next script will also increase Sim.tick but box won't move. -> Strange!
- Code: Select all
for(5, (n)=>{App.Step; App.Step; App.undo})
You are taking two steps and undoing one. Don't act surprised that not everything is undone
Hmm, resent Algodoo doesn't reproduce this issue!
This bug seems to be fixed.
NOTE: I'm not an Algoryx member.
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
-

tatt61880 - [Most Helpful Person 2010]
- Posts: 1150
- Joined: Mon Aug 31, 2009 5:45 pm
- Location: Tokyo, Japan
7 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests



