J
Jeshuakrc
Guest
I'm having a very anoying time trying to define points for a polygon shape fixture through code. After a while I noticed that I couldn't just cupy the coodinates from the shape editor because when you define them trough code, the reference point is the sprite offset, that's right, but I also can't just subtract the offset from the cordinates, cause if I just use the same coordinates, the fuxture gets messed up. After just trying dripping numbers, I achieved a fixture in the same pos and shape as I wanned, but the values arent definetly the same as in the editor, so, my question is: What's the measure in which I have to define the position of the points? I tried setting the mettersixel ratio to 1, but that didnt work either.
I'm in the lastest bould of GameMaker Studio 2
I'm in the lastest bould of GameMaker Studio 2