Question with hinge spawning
6 posts • Page 1 of 1
Question with hinge spawning
Hi everyone !
I'm trying to spawn an hinge when to geometry collide, so I put in Oncollide the following
scene.addhinge({
geom0 = (readable(e.other)).geomID;
geom1 = (readable(e.this)).geomID;
geom0pos = [0.00000000, 0.00000000];
geom1pos = [0.00000000, 0.00000000]
})
Unfortunately, even if "(readable(e.other)).geomID" works fine (I can read the geomID display in the script menu of both geometry), I have an error :
1368337 ms: - ERROR - Couldn't find geom with ID 33
1368337 ms: - ERROR - Constraint connected to unknown geometry
However when I follow this tutorial it works perfectly (http://www.algodoo.com/forum/viewtopic.php?f=14&t=795&p=42005&hilit=addhinge#p8014), and I could notice that the geomID displayed in script menu are not "1" and "2".
So is there a way to get through this problem ?
Thanks you all
I'm trying to spawn an hinge when to geometry collide, so I put in Oncollide the following
scene.addhinge({
geom0 = (readable(e.other)).geomID;
geom1 = (readable(e.this)).geomID;
geom0pos = [0.00000000, 0.00000000];
geom1pos = [0.00000000, 0.00000000]
})
Unfortunately, even if "(readable(e.other)).geomID" works fine (I can read the geomID display in the script menu of both geometry), I have an error :
1368337 ms: - ERROR - Couldn't find geom with ID 33
1368337 ms: - ERROR - Constraint connected to unknown geometry
However when I follow this tutorial it works perfectly (http://www.algodoo.com/forum/viewtopic.php?f=14&t=795&p=42005&hilit=addhinge#p8014), and I could notice that the geomID displayed in script menu are not "1" and "2".
So is there a way to get through this problem ?
Thanks you all
- Jedjej
- Posts: 5
- Joined: Thu Feb 28, 2013 11:23 pm
Re: Question with hinge spawning
Haha Finally it works perfectly in the last Beta
- Jedjej
- Posts: 5
- Joined: Thu Feb 28, 2013 11:23 pm
Re: Question with hinge spawning
Jedjej wrote:Haha Finally it works perfectly in the last Beta
oh really? didn't notice that, I still have same problems.
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: Question with hinge spawning
Damned it !
It seemed to work one time ... but not anymore ...
It seemed to work one time ... but not anymore ...
- Jedjej
- Posts: 5
- Joined: Thu Feb 28, 2013 11:23 pm
Re: Question with hinge spawning
bumping this! Got the same problem...
- sPetersen
- Posts: 10
- Joined: Sun Apr 10, 2016 6:09 am
Re: Question with hinge spawning
no dice. that will be never fixed(
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
6 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests