What is e.pos?
5 posts • Page 1 of 1
What is e.pos?
I'd like to know what is and where do I have to write e.pos.
Sorry for my english...
Luciano
Sorry for my english...
Luciano
- luciano.gonzalez.97
- Posts: 3
- Joined: Sat Sep 04, 2010 10:00 pm
Re: What is e.pos?
e.pos is the place of a collision, eg object1 collides object2, the place where they meet will be named e.pos.
in scripting you can use this to let something happen on that spot, eg by pos:=e.pos.
if you place that in a script on the right spot, it will happen on the place of the collision
in scripting you can use this to let something happen on that spot, eg by pos:=e.pos.
if you place that in a script on the right spot, it will happen on the place of the collision
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: What is e.pos?
monstertje3 wrote:e.pos is the place of a collision, eg object1 collides object2, the place where they meet will be named e.pos.
in scripting you can use this to let something happen on that spot, eg by pos:=e.pos.
if you place that in a script on the right spot, it will happen on the place of the collision
OK, let me see if I understand...
pos is the position and e.pos is the position of the "e" object
thanks a lot
- luciano.gonzalez.97
- Posts: 3
- Joined: Sat Sep 04, 2010 10:00 pm
Re: What is e.pos?
e is not object name.
e is a default argument identifier for onCollide.
I've prepared one picture and uploaded one scene for this topic.

e is a default argument identifier for onCollide.
I've prepared one picture and uploaded one scene for this topic.

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
Re: What is e.pos?
thank you for the uploaded scene. Now I know what is e
- luciano.gonzalez.97
- Posts: 3
- Joined: Sat Sep 04, 2010 10:00 pm
5 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests




