[Help] short question about POS and e.pos
4 posts • Page 1 of 1
[Help] short question about POS and e.pos
hi,
my question is how to change the position to some of object?
for example:
its not working... and i dont even know what and when to write "scene.my.blue" at the another object to spawm that...it will really help me for many scenes. 10x..
my question is how to change the position to some of object?
for example:
- Code: Select all
pos:=[scene.my.blue];
its not working... and i dont even know what and when to write "scene.my.blue" at the another object to spawm that...it will really help me for many scenes. 10x..
- daniel1296
- Posts: 15
- Joined: Fri Dec 30, 2011 9:31 pm
Re: [Help] short question about POS and e.pos
No way to do that. Just use mech instead.
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: [Help] short question about POS and e.pos
what is "mech"? and how to do it plz... i want to spawn something in very specific polygon.. not "e.pos" and not x,y.
- daniel1296
- Posts: 15
- Joined: Fri Dec 30, 2011 9:31 pm
Re: [Help] short question about POS and e.pos
Spawn is easy. Just set pos do desired value.
scene.my.boxPos := [1,1];
scene.addBox({pos := scene.my.boxPos})
scene.my.boxPos := [1,1];
scene.addBox({pos := scene.my.boxPos})
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
4 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests