Gaimo Posted March 11 Share Posted March 11 I'm making a resource zipline and I'd like to make the player look in the right direction when he starts moving, any idea how to do that? I would also like to know if there is an animation that looks like the player is using a zipline. Demo: Link to comment
Lenka Posted March 12 Share Posted March 12 Quote function findRotation(x1,y1,x2,y2) local t = -math.deg(math.atan2(x2-x1,y2-y1)) if t < 0 then t = t + 360 end; return t; end 1 Link to comment
Flashmyname Posted March 12 Share Posted March 12 I have some wild guess in the animation that you probably looking for, which might look like holding a zipline. "CAMERA", "picstnd_take" 1 Link to comment
Flashmyname Posted March 12 Share Posted March 12 (edited) 30 minutes ago, Gaimo said: Very good animation, thanks! You're welcome, let us know if you need some other help too with the script. Edited March 12 by Flashmyname 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