Jump to content

onClientSkidMark?


rain_gloom

Recommended Posts

hmm i think there is no such a function.

thank you, I did realise that. I can read and I read the wiki like everyday.

I need a way to check when the car creates a skidmark (black tyre lines on the ground).

Not necessarily through an event, but that's my final goal.

If I could get these elements, that would already be more that I hoped for, or if someone could give an idea about how to monitor the tyres slip, that would be enough.

thx anyway for even replying

Link to comment

@Blaawee better "getVehicleTurnVelocity".

But still , you need to check breaking (agresive breaking leave mark's , but fine slow breaking not leave mark's) , fast acceleration aswell leave marks , slow acceleration not leave mark's , landing after a jump aswell can leave marks.

So that would be a lot of checking's but you could detect some of the mark's but not all of them.

Link to comment

the final goal would be to add tyre wornness, so actually it should be per tyre

so if the direction of movement~=direction of the vehicle I just need to get the wheels on ground?

mmm... maybe with getVehicleComponentPosition relative to local Z axis

thx, you guys helped a lot :)

Link to comment

for tyre wornness you could make , a function that return's the acceleration , from there you can tell if the vehicle is hard breaking / accelerating.

Aswell checking for handreake / speed , and for last with "getVehicleTurnVelocity" you can check if is hard turning or slow nice turning.

isVehicleOnGround 

Good luck.

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...