Arshin Posted March 18, 2020 Posted March 18, 2020 Hey guys. Do you have an idea for add loop for moveObject ? Thanks.
Arshin Posted March 18, 2020 Author Posted March 18, 2020 5 minutes ago, Patrick said: What do you think? I think how can i rotate object continuously.
Moderators Patrick Posted March 18, 2020 Moderators Posted March 18, 2020 local object = createObject(id, x, y, z) moveObject(object, 5000, x, y, z, 0, 0, 360) -- rotate with 360, takes 5 sec setTimer(moveObject, 5000, 0, x, y, z, 0, 0, 360) -- after 5 sec, rotate it again (in every 5th sec) Or rotate it with setElementRotation
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