Two Objects Colliding
#1
Posted 16 November 2008 - 03:38 PM
#2
Posted 16 November 2008 - 04:36 PM
#3
Posted 16 November 2008 - 06:02 PM
Are the two objects that collide the same? If they are it´s a bit more complex as they will both have the same collision event... And do you want object2 to be created at the actual point of collision?
Yes, it's 2 of the same object that is colliding, and I want the third object to be created at the collision position!
#4
Posted 16 November 2008 - 06:25 PM
Edited by Halowar77, 16 November 2008 - 06:58 PM.
#5
Posted 16 November 2008 - 06:39 PM
Here is an example of how to figure out where to create the object. It is very basic but it works.
Collision Creation.gm6
Well, seems to be too advanced for such a simple task
#6
Posted 16 November 2008 - 06:44 PM
#7
Posted 16 November 2008 - 06:53 PM
Here is a commented version. With a few minor edits.
Collision Creation.gm6
Edited by Halowar77, 16 November 2008 - 06:59 PM.
#8
Posted 16 November 2008 - 06:59 PM
So do you want it to be created at the origin of the Carnivore, because by what you were saying you wanted it at the position of the collision.
Yes, I want it at the position of the collision... When two Carnivore collides, I want them to leave an egg at the position they are colliding at!
#9
Posted 16 November 2008 - 07:02 PM
#10
Posted 16 November 2008 - 07:05 PM
So do you want it to be created at the origin of the Carnivore, because by what you were saying you wanted it at the position of the collision.
Yes, I want it at the position of the collision... When two Carnivore collides, I want them to leave an egg at the position they are colliding at!
Omg... All I needed was to set the create instance position relatively to 0,0, and NOT Object1.x, Object1.y
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











