rain_gloom Posted August 14, 2013 Share Posted August 14, 2013 How to achieve an event that's triggered when a vehicle creates a skid mark? (not necessarily when it's drifting, it's not another drift resource) Link to comment
bandi94 Posted August 14, 2013 Share Posted August 14, 2013 hmm i think there is no such a function. Link to comment
rain_gloom Posted August 16, 2013 Author Share Posted August 16, 2013 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 Posted August 16, 2013 Share Posted August 16, 2013 What about get vehicle angle, you can get it with getElementVelocity getElementRotation Link to comment
bandi94 Posted August 16, 2013 Share Posted August 16, 2013 @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
rain_gloom Posted August 16, 2013 Author Share Posted August 16, 2013 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
bandi94 Posted August 16, 2013 Share Posted August 16, 2013 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now