Absolute angle

Suggest changes and improvements to Algodoo.

Absolute angle

Postby djsapsan » Mon Feb 18, 2019 1:02 am

I got an error when loaded screenshot and even new post didnt help - https://prnt.sc/mmfcoc. So im sorry because i could not make screenshot here and instead put links.

Im working on new complex concept. For my work i need to see absolute angle of rotation in visualization (with custom accuracy, because i need all numbers after floating point).
How its may look:

(sorry for my english)
Posts: 1
Joined: Mon Feb 18, 2019 12:47 am

Re: Absolute angle

Postby FRA32 » Mon Feb 18, 2019 1:03 pm

Just use thyme scripting for that.
In the circle, open the script menu and type in postStep:
(e)=>{scene.my.angle = rotation/math.pi*180}
In some box, type in poststep:
(e)=>{text = "α = "+scene.my.angle+"°"}
Posts: 227
Joined: Wed Dec 03, 2014 9:51 pm

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest