Does GetCenterPosition exist?

hi,

The manual mentions using GetCenterPosition but I just keep getting errors that it can't be found, does it still exist? (couldn't find it in the .as files either). What would I use as an alternative? Body.GetPosition(); ?
body.GetWorldCenter();
body.GetPosition returns the bodies position( just like it says ) and since all shapes are defined in the local coordinate system of the body they are 'generally' centered around that. With that said, you can offset them so GetPosition will not always be correct in that case. GetWorldPosition returns the center of mass for the body. Depending on your shape(s) it may or may not be the same as the body's position.

Original thread: https://box2d.org/forum/viewtopic.php?t=2991