aka Blue Posted October 1, 2016 Posted October 1, 2016 Hi everyone. My question is... ¿its possible to position of the vehicle component by clicking? ¿How can i do it? Thanks I wanna make a component moving script
Dealman Posted October 1, 2016 Posted October 1, 2016 Yeah it should possible,try and use getWorldFromScreenPosition and processLineOfSight. This will give you the world co-ordinate, you then need to convert this to a relative value. So subtract the vehicle's position from the X, Y and Z co-ordinates you got from the previous functions to make it relative.
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