Raised This Month: $ Target: $400
 0% 

entity vector


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
TheNewt
Donor
Join Date: Jun 2006
Location: Where I live.
Old 10-04-2006 , 17:25   Re: entity vector
Reply With Quote #7

after playing around I found out that the first number in the Origin array used int he angles actually alters the entities pitch (looking up and down), the second number alters the rotation (left and right) and the third number is the tilt (leaning left and right)
so the
Code:
if (closestOrigin[0] < sentryOrigin[0])     newAngle[1] -= 180
says that if the closest origin is below the sentry, then move the sentry 180 degrees around. But it seems for some reason to do that when the closestOrigin[1] theoretically becomase less then sentryOrigin[1] O.o
gah,
__________________
Quote:
toe3_ left the chat room. (G-lined (AUTO Excessive connections from a single host.))
TheNewt is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode