View unanswered posts | View active topics It is currently Thu Jan 02, 2025 6:05 pm



Reply to topic  [ 14 posts ] 
 Look direction? 
Author Message
User avatar

Joined: Fri May 15, 2009 5:15 am
Posts: 19
Reply with quote
Post Look direction?
I was wondering what the variable for an actor's look direction is. You know like the variable "actor.HFlipped = True". What is the variable for the look direction? I tried looking it up on the wiki but I get this "server not found" nonsense. So if anyone can either show me to another source of documentation or tell me the variable name it would be greatly appreciated. :grin:


Sat Dec 18, 2010 6:03 am
Profile
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post Re: Look direction?
Code:
actor:GetAimAngle()


Cant remember what the Arguement does but it is Boolean. Return is in Radians.


Sat Dec 18, 2010 6:32 am
Profile
User avatar

Joined: Fri May 15, 2009 5:15 am
Posts: 19
Reply with quote
Post Re: Look direction?
Thanks for the quick response! :D


Sat Dec 18, 2010 6:51 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: Look direction?
The argument is if you want the angle to be "flipped," meaning the angle would be different if the character was looking to the left than if it was looking to the right.

.. It's a little hard to explain.


Sat Dec 18, 2010 6:59 am
Profile
User avatar

Joined: Fri May 15, 2009 5:15 am
Posts: 19
Reply with quote
Post Re: Look direction?
CaveCricket48 wrote:
The argument is if you want the angle to be "flipped," meaning the angle would be different if the character was looking to the left than if it was looking to the right.

.. It's a little hard to explain.


I figured that out after messing with it for a while. Thanks anyways though. :)


Sat Dec 18, 2010 8:26 am
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Look direction?
Battle_hobo wrote:
the wiki but I get this "server not found" nonsense.

Sorry to digress, but does anyone know what the deal is with this?


Sat Dec 18, 2010 9:41 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Look direction?
The person hosting it took it down, if what I've been told is correct.


Sat Dec 18, 2010 10:15 am
Profile WWW
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Look direction?
Yes, Daman either took it down or didn't pay the rent or something.


Sat Dec 18, 2010 5:41 pm
Profile
User avatar

Joined: Fri May 15, 2009 5:15 am
Posts: 19
Reply with quote
Post Re: Look direction?
Will we ever get it back? For newer people (like me :wink: ) it makes it really hard to do certain things. :(


Sat Dec 18, 2010 6:28 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Look direction?
If Data ever puts it back up, maybe, but Daman actually hates Cortex and DRL so doubtful he'll put it back up.


Sat Dec 18, 2010 6:33 pm
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Look direction?
This might help: Lua API documentation (for offline use)


Sat Dec 18, 2010 6:48 pm
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Look direction?
Duh102 wrote:
If Data ever puts it back up, maybe

That'd be nice.

But in the meantime, that will be very useful, Abdul, thanks for bringing that up.


Sun Dec 19, 2010 1:51 am
Profile
User avatar

Joined: Fri May 15, 2009 5:15 am
Posts: 19
Reply with quote
Post Re: Look direction?
Abdul Alhazred wrote:


Exactly what I was looking for, thanks!


Sun Dec 19, 2010 2:22 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Look direction?
It seems that the original hoster will be putting it back up soon.


Sun Dec 19, 2010 3:33 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.036s | 13 Queries | GZIP : Off ]