DiosSasuke Posted May 18, 2018 Posted May 18, 2018 Hello Could you tell me how this is used? setObjectRotation (object, rotX, rotY, rotZ)
itHyperoX Posted May 18, 2018 Posted May 18, 2018 object = createObject(1337, 0, 0, 0) local x, y, z = getElementPosition(object) setObjectRotation(object, x, y, z) but you can use setElementRotation too.
WiBox Posted May 27, 2018 Posted May 27, 2018 object = createObject(1337, 1500, 965, 10) -- "a name which you like " = createObject ("ID of the object", positionX, positionY, positionZ) local x, y, z = getElementPosition(object) -- the X, Y, Z = element position which is object setObjectRotation (object, x, y, z) -- you can use setElementRotation (object, x, y, z) the x y z = the second line of this coding.
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