pSkeleton changed from global to local member
pMotion changed from global to local