materia Posted February 1, 2019 Share Posted February 1, 2019 (edited) Hi there, I cannot find any method how to set the rotation velocity of vehicles similar to: mp.players.local.vehicle.setVelocity(vx, vy, vz); Is there any way to do modify turn velocity like mp.players.local.vehicle.setTurnVelocity(tvx, tvy, tvz); this to give or remove spin velocity to vehicles? Edit: Seems this will be my friend, but I cannot get it to work, any values I put have no effect to my vehicle... void SET_OBJECT_PHYSICS_PARAMS(Object object, float mass, float gravityFactor, float dampingLinearC, float dampingLinearV, float dampingLinearV2, float dampingAngularC, float dampingAngularV, float dampingAngularV2, float margin, float default2Pi, float buoyancyFactor) // 0xF6DF6E90DE7DF90F 0xE8D11C58 Any idea how I can invoke this native correctly? Edited February 1, 2019 by materia Additional info Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now