Jump to content

[udp 2018] get time gap with ghost in trial

Recommended Posts

Guest
Hi everyone, I'm creating my personal app for F1 2018, and I am trying to get the time gap between me and my own ghost (in trial). I've managed to get the final time that you can find in the leader board, but my ghost's m_currentLapTime is always equal to zero. How can I get the gap without this ? We can see it on the car's steering wheel and on the top right corner for example.(I've probably missed something btw).
Thanks !

Share this post


Link to post
Share on other sites
Guest
Sorry to ask a dumb question, but are you using the right PlayerIndex for the ghost?
I've just checked and I can see the time on m_currentLapTime ( after opening a lap ).


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×