Spoiler! Readale pos/vel/angvel
5 posts • Page 1 of 1
Spoiler! Readale pos/vel/angvel
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)
That will simplify a lot of tasks for scripting
In next release there will be thyme fictions to read run-time variables (like pos/vel/angvel/geomID)
That will simplify a lot of tasks for scripting
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: Spoiler! Readale pos/vel/angvel
that would be great...
- silversmart
- Posts: 27
- Joined: Tue Jul 05, 2011 7:48 pm
Re: Spoiler! Readale pos/vel/angvel
It has taken long enough. I think it will get interesting once you can set those values.
-
Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: Spoiler! Readale pos/vel/angvel
{
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
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.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
-
monstertje3 - Posts: 343
- Joined: Sat Sep 05, 2009 4:29 pm
- Location: N-H, NL
Re: Spoiler! Readale pos/vel/angvel
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.
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).
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
5 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests