how to move the world rather then object

i have a car moving , but i want the world to move rather then car

i did this


inside car.h

i did

float cc;
void Step(Settings* settings)
{


Test::Step(settings);


cc=m_rightWheel->GetWorldCenter().x;// cc hold wheel value i needs this in other class

}



now in View Controller i need cc value


// in VC.h
Car car;

// in VC.m

NSLog(@"car is moving at %f",car.cc );// not working
NSLog(@"car is moving at %f",car->cc );// not working


how to access cc value???

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