Weastøne Entertainment
Member
Hi there! We are trying to change the collision of an object, depending on the sprite it is using. We want to use this as we have bullets that can move horitzontally and vertically.
Our object uses physics and has a collision defined, in the physics properties "tab". It uses phy_bullet = true, and due to ?? reason, "image_angle" does not work (but we solved that by changing the sprites on each situation; this is not a problem).
The main problem then, is that we wanna change the collision if the bullet (arrow, right now) is going down, which has to be different that the one that goes horitzontal (| ). As well we will want to change the bullet to maybe rocks, spells,... Is there a way to do what we want? We tried using the collision masks, but:
1) even though we've searched information, we do not know how to use it (properly).
2) when we tested (maybe we did it wrong) it didn't work. We think that that is due to we set the collision in the object's physics properties.
Any ideas?? Thank you very much!!
Our object uses physics and has a collision defined, in the physics properties "tab". It uses phy_bullet = true, and due to ?? reason, "image_angle" does not work (but we solved that by changing the sprites on each situation; this is not a problem).
The main problem then, is that we wanna change the collision if the bullet (arrow, right now) is going down, which has to be different that the one that goes horitzontal (| ). As well we will want to change the bullet to maybe rocks, spells,... Is there a way to do what we want? We tried using the collision masks, but:
1) even though we've searched information, we do not know how to use it (properly).
2) when we tested (maybe we did it wrong) it didn't work. We think that that is due to we set the collision in the object's physics properties.
Any ideas?? Thank you very much!!