Question with hinge spawning

About advanced scenes, and the Thyme scripting language used in Algodoo.

Question with hinge spawning

Postby Jedjej » Thu Feb 28, 2013 11:40 pm

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 :)
Jedjej
 
Posts: 5
Joined: Thu Feb 28, 2013 11:23 pm

Re: Question with hinge spawning

Postby Jedjej » Fri Mar 01, 2013 9:11 pm

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

Postby Kilinich » Fri Mar 01, 2013 9:43 pm

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...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: Question with hinge spawning

Postby Jedjej » Sat Mar 02, 2013 2:25 pm

Damned it !

It seemed to work one time ... but not anymore ... :crazy:
Jedjej
 
Posts: 5
Joined: Thu Feb 28, 2013 11:23 pm

Re: Question with hinge spawning

Postby sPetersen » Sun May 15, 2016 3:22 pm

bumping this! Got the same problem...
sPetersen
 
Posts: 10
Joined: Sun Apr 10, 2016 6:09 am

Re: Question with hinge spawning

Postby Kilinich » Mon May 16, 2016 2:12 pm

no dice. that will be never fixed(
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 2 guests