Transforming an angle to a normal [HELP]

About advanced scenes, and the Thyme scripting language used in Algodoo.

Transforming an angle to a normal [HELP]

Postby Rideg » Sat Dec 25, 2010 7:33 pm

Hello. I'm on a project were I need to transform an angle ([x, y]) into a normal (x). Does anyone have the knowledge to help me get through this issue.

Thanks! :thumbup:
-Johan
Image
make sure to check out my work.
User avatar
Rideg
 
Posts: 948
Joined: Tue Dec 15, 2009 5:17 pm
Location: Östersund, Sweden

Re: Transforming an angle to a normal [HELP]

Postby Kilinich » Sat Dec 25, 2010 10:56 pm

Rideg wrote:Hello. I'm on a project were I need to transform an angle ([x, y]) into a normal (x). Does anyone have the knowledge to help me get through this issue.

Thanks! :thumbup:
-Johan


You mean e.normal (x,y) to angle (a)?
Search forum, I've post few functions for that.
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: Transforming an angle to a normal [HELP]

Postby Rideg » Sun Dec 26, 2010 3:17 am

Kilinich wrote:
Rideg wrote:Hello. I'm on a project were I need to transform an angle ([x, y]) into a normal (x). Does anyone have the knowledge to help me get through this issue.

Thanks! :thumbup:
-Johan


You mean e.normal (x,y) to angle (a)?
Search forum, I've post few functions for that.

I edited my post and forgon to change that. Thank you
Image
make sure to check out my work.
User avatar
Rideg
 
Posts: 948
Joined: Tue Dec 15, 2009 5:17 pm
Location: Östersund, Sweden


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 3 guests