Hello everyone,
i recently started to script a bit for gta iv and i came across a problem i cannot solve.
for your understanding:
the current vehicle my char is driving shall have the possibility to "rotate" in any direction and stay in this position.
for example, the car shall drive on two wheels (left or right doesnt matter). when i am using the following code it sticks to this position, but will drift with force to the left/right side and i cannot stop that. am i missing something here?
| CODE |
private Quaternion qRotation= new Quaternion(0.0F, 0.5F, 0.0F,1.0F);
if ( .. ) { Player.Character.CurrentVehicle.RotationQuaternion = qRotation; }
|