Jump to content

[Solved]Projectile Rotation problem


Chlorek

Recommended Posts

My code:

createProjectile ( getLocalPlayer(), 19, x, y, z, 10, nil, rx, ry, rz-180, 0, 0, 0, 0) 

Variables rx, ry and rz are a vehicle rotation then I am using them to create projectile. And here is my problem, when my car is turned north or south is it working alright but when a car is turned (even a bit) east or west it doesn't work, bcuz projectile is created in wrong destination like in mirror (instead of moving some left it is moving some right). Plz help, I am scripting that from 2 hours and no progress :roll:

Edited by Guest
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...