Tornado
Member
I know it sounds stupid at first, but I'm trying to achieve following:
I have an object "A" wich participates in physics world. But after it touches some other object "B" I change the collision group of "A", because from that point on, the object "A" should not collide with anything anymore, because it is marked to be destroyed. Before I destroy it I want to move in a predefined way. I put those points of my "predefined movement line" into a relative path object.
Then i start the path for instance "A".
But then I discovered that path doesn't work on physics instances, i guess. Or I'm not using it in a correct way!
I tried to set
phy_active = false;
but it doesn't help, i guess it only disables collisions and so, but the object is still an object of the physics world.
I checked this by setting for example some fix values:
x=300;
y=300;
but nothing happens.
But when I set
phy_position_x = 300;
phy_position_y = 300;
object "A" is moved there.
That means it is stll an object in physics world.
Can you please give me some pointers if it possible to achieve something like this and how?
Thank you!
I have an object "A" wich participates in physics world. But after it touches some other object "B" I change the collision group of "A", because from that point on, the object "A" should not collide with anything anymore, because it is marked to be destroyed. Before I destroy it I want to move in a predefined way. I put those points of my "predefined movement line" into a relative path object.
Then i start the path for instance "A".
But then I discovered that path doesn't work on physics instances, i guess. Or I'm not using it in a correct way!
I tried to set
phy_active = false;
but it doesn't help, i guess it only disables collisions and so, but the object is still an object of the physics world.
I checked this by setting for example some fix values:
x=300;
y=300;
but nothing happens.
But when I set
phy_position_x = 300;
phy_position_y = 300;
object "A" is moved there.
That means it is stll an object in physics world.
Can you please give me some pointers if it possible to achieve something like this and how?
Thank you!