hinge - set ccw by variable

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

hinge - set ccw by variable

Postby LikeHoo » Thu Jun 30, 2011 2:57 pm

hi, I imported a phunlet with multiple hinges. Each of them have different ccw values (true/false), so I want to set them all to the same value by using a variable for ccw and setting it to true via console.

Normally all hinges should now turn the same direction, right?

But it doesn't work. Some are still turning the other direction. Can anyone help?
LikeHoo
 
Posts: 3
Joined: Thu Jun 30, 2011 2:45 pm

Re: hinge - set ccw by variable

Postby Kilinich » Thu Jun 30, 2011 3:53 pm

what version of algodoo/phun?
there was (and still) a bug with scripted ccw.
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: hinge - set ccw by variable

Postby LikeHoo » Thu Jun 30, 2011 3:55 pm

it's algodoo v. 1.8.5
LikeHoo
 
Posts: 3
Joined: Thu Jun 30, 2011 2:45 pm

Re: hinge - set ccw by variable

Postby Kilinich » Thu Jun 30, 2011 4:37 pm

aha. as workaround - try to set negative speed/power instead of ccw
;)
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: hinge - set ccw by variable

Postby LikeHoo » Thu Jun 30, 2011 6:06 pm

that works, great

thank you :thumbup:
LikeHoo
 
Posts: 3
Joined: Thu Jun 30, 2011 2:45 pm


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 3 guests