Spoiler! Readale pos/vel/angvel

For topics that don't fit under the other topics or forums.

Spoiler! Readale pos/vel/angvel

Postby Kilinich » Fri Oct 14, 2011 10:34 am

I have a very good news! Not 100% sure but very probable.
In next release there will be thyme fictions to read run-time variables (like pos/vel/angvel/geomID) :clap:
That will simplify a lot of tasks for scripting :thumbup:
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: Spoiler! Readale pos/vel/angvel

Postby silversmart » Fri Oct 14, 2011 12:32 pm

that would be great...
silversmart
 
Posts: 27
Joined: Tue Jul 05, 2011 7:48 pm

Re: Spoiler! Readale pos/vel/angvel

Postby Mystery » Fri Oct 14, 2011 5:23 pm

It has taken long enough. I think it will get interesting once you can set those values.
User avatar
Mystery
 
Posts: 2802
Joined: Thu Sep 03, 2009 1:16 pm
Location: Southern Australia

Re: Spoiler! Readale pos/vel/angvel

Postby monstertje3 » Sat Oct 15, 2011 11:17 am

{
p := (readable(owner)).pos;
[p(0), p(0), p(1), 1]
}

this is one of those scripts :) (i copied this from tatt btw)
Edit: tatt copied from emil, so emil made this :)
Last edited by monstertje3 on Sat Oct 15, 2011 4:34 pm, edited 1 time in total.
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
User avatar
monstertje3
 
Posts: 343
Joined: Sat Sep 05, 2009 4:29 pm
Location: N-H, NL

Re: Spoiler! Readale pos/vel/angvel

Postby tatt61880 » Sat Oct 15, 2011 12:48 pm

monstertje3 wrote:{
p := (readable(owner)).pos;
[p(0), p(0), p(1), 1]
}

this is one of those scripts :) (i copied this from tatt btw)

Wait, I've copied this from RC5 changelog. :D
So, it's not my original script.
emilk wrote:* NEW: Thyme command 'owner' to get owner scope from {}-scripted attribute (e.g. "color = {p := (readable owner).pos; [p(0), p(1), 1, 1]}")
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).
User avatar
tatt61880
[Most Helpful Person 2010]
 
Posts: 1150
Joined: Mon Aug 31, 2009 5:45 pm
Location: Tokyo, Japan


Return to Algodoo in general

Who is online

Users browsing this forum: No registered users and 3 guests