Leslie Posted May 25 Posted May 25 This formula: Object.transformation.position["z"] = Object.transformation.position["z"] + 10 does not work. "Object" is the actual object. How to change coordinates at all?
Eggu Posted May 25 Posted May 25 local pos = Object.transformation.position Object.transformation.position = {x= pos.x, y= pos.y, z= pos.z + 10}
Leslie Posted May 30 Author Posted May 30 How about translateZ function? It seems Object.transformation:translateZ(1) do the same job. Much easier.
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