Raised This Month: $32 Target: $400
 8% 

Tracing an entity's direction


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 01-11-2012 , 05:14   Tracing an entity's direction
Reply With Quote #1

Is it possible to do a trace line on an entity's ( not a player's ) angles?
Because I'm rotating a model using EV_VEC_angles, and somehow hoping to find the EndPoint vector so I can do a trace line and detect a player between the coordinates.

get_user_aiming() only works with players, I think velocity_by_aim() is the same deal? fm_get_aim_origin() gave me some more realistic values but they wouldn't change as the entity was rotating. Is there another way that your supposed to rotate the entity that I'm missing? Or can this not be done?

Thanks!
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Reply



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 16:59.


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