localXOf

fun localXOf(body: RigidBody, worldX: Float, worldY: Float): Float(source)

Returns where the world point (worldX, worldY) is on body, across, measured from its centre of mass in its own frame.