Raised This Month: $ Target: $400
 0% 

Set origin entity to ground


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-11-2023 , 07:19   Re: Set origin entity to ground
Reply With Quote #4

Quote:
Originally Posted by RayZek95 View Post
And without that? I need to know what I'm doing, the way using vectors like the stock I posted
Read the notes to understand how the function works:
Quote:
This engine function traces 256 units straight downwards from the
entity origin. If the trace hits the floor, the origin is updated to
the end position of the trace, FL_ONGROUND is added to the flags and
EV_ENT_groundentity is updated. When the trace does not hit anything or
the entity would be stuck inside something, the function does nothing
and returns 0.
__________________

Last edited by HamletEagle; 01-11-2023 at 07:19.
HamletEagle 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 20:03.


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