Hi, I am trying to follow the movement of a sprite set to physics-dynamic. But I want to do this using the offset coordinates because I am interested in the movement of a particular "pixel" of the sprite. However, regardless of what offset I use, I always get the same by-offset coordinates.
Example in pseudocode:
create square sprite 100x100 and name it "square";
set square's offset to (x,y);
set square as dynamic physics object;
do loop {
print(square's coordinates by offset);
}
This code will always give me the default offset coordinates (the ones in the center of the sprite) regardless of my choice of "x" and "y". Am I doing something wrong or is this a bug or a limitation of the AppGameKit commands?
iMac Book Pro, MacOS 10.12.4, Xcode 9.0.1;
iPhone 6, iOS 9.35; iPhone 5s, iOS 9.35; iPad (3rd gen), iOS 9.35;
Dell Precision T7400, Windows 7 Professional 64bit, Visual Studio Community 2017;