MisterQuestions Posted January 19, 2016 Posted January 19, 2016 Hello everybody! I want to ask if its possible to draw an image at a surface obtained by processLineOfSight. And what function(s) i should use?
tosfera Posted January 19, 2016 Posted January 19, 2016 ProcessLineOfSight returns the surface X, Y, Z if it hasn't been hit by anything else. If you got those positions, you're able to use GetScreenFromWorldPosition and dxDrawImage to draw the position on the right location.
MisterQuestions Posted January 19, 2016 Author Posted January 19, 2016 ProcessLineOfSight returns the surface X, Y, Z if it hasn't been hit by anything else. If you got those positions, you're able to use GetScreenFromWorldPosition and dxDrawImage to draw the position on the right location. I tried that way.. but when player move camera.. image is moved.. i want to draw the image at the surface where player vehicle's on.
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