• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

Car world position wrong

andrea_serafini

New Member
Hi, I was wondering if someone can explain me why if I use these two methods:
coor_l = ac.getCarState(<ID>, acsys.CS.WorldPosition, acsys.WHEELS.FL)
coor_r = ac.getCarState(<ID>, acsys.CS.WorldPosition, acsys.WHEELS.FR)

I get the same result on both coor_l and coor_r, shouldn't they be different (Front left tyre position and Front right tyre position)?
 

fughettaboutit

aka leBluem
xw, yw, zw = ac.getCarState(0, acsys.CS.WorldPosition)

x,y,z = ac.getCarState(ac.getFocusedCar(),acsys.CS.TyreContactPoint,acsys.WHEELS.FR)

0 is your car, other number would be for other cars on track
ac.getFocusedCar() is - you guessed it already - the car the camera is on
 
Top