R
Rotciv45
Guest
Hi guys, I'm writting this because I need help with a project I'm currently working on with GMS 2.
I created an object (I call it vehicle) and a turret that i placed on it. Then, in the object editor i set the vehicle as the turret's parent, so when i move the first with arrows the second moves with it. But when i rotate the vehicle (using mouse x and y) the turret moves around its origin point (which is quite logical but not what i want).
i would like to be able to pin the turret to the vehicle (so it stays at the same place on it)
Thank for the answers
PS:sorry for my bad English, I'm doing my best ^^
I created an object (I call it vehicle) and a turret that i placed on it. Then, in the object editor i set the vehicle as the turret's parent, so when i move the first with arrows the second moves with it. But when i rotate the vehicle (using mouse x and y) the turret moves around its origin point (which is quite logical but not what i want).
i would like to be able to pin the turret to the vehicle (so it stays at the same place on it)
Thank for the answers
PS:sorry for my bad English, I'm doing my best ^^