NotAvailable Posted November 25, 2011 Share Posted November 25, 2011 Hello. How do i make the corona not move trough the ground? this the code i made so far: marker = createMarker(0, 0, 3, "Corona", 0.4, 0, 200, 0, 140, root) addEventHandler("onClientCursorMove", root, function(cx, cy, ax, ay, wx, wy, wz) setElementPosition(marker, wx, wy, wz) end) Regards, Jesse Link to comment
12p Posted November 25, 2011 Share Posted November 25, 2011 Use GMES as example. Yours will never work in order to make the corona be under the ground. Using: getWorldFromScreenPosition You can do that. Link to comment
Aibo Posted November 25, 2011 Share Posted November 25, 2011 https://wiki.multitheftauto.com/wiki/ProcessLineOfSight Link to comment
NotAvailable Posted November 25, 2011 Author Share Posted November 25, 2011 Working! whanks for the help! 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