Raised This Month: $ Target: $400
 0% 

Entity angels and sizes mins/max


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 06-22-2012 , 07:32   Re: Entity angels and sizes mins/max
Reply With Quote #4

Connor, If I do entity_set_vector(ent, EV_VEC_angles, angles);
when angles = { 45.0, 0.0, 0.0 }, then entity would look like this -> ' \ '.

The problem is that when you try to stand on that block, you sense like its ' | ' (an invisible box which you stand on). Well I believe these are the mins and max sizes:

PHP Code:
entity_get_vector(entEV_VEC_minssize_min);
    
entity_get_vector(entEV_VEC_maxssize_max); 
My question is, whenever I supply parameters to size_min and size_max then I re-set it with entity_set_vector, it will always create me a box, means I can not create the invisible box to be like that ' \ ', only its angels to be set like that. Because when I give parameters in size_min and size_max, I give X, Y and Z. means I give parameters to making a box, and a box can not be like that ' \ ' (atleast with size_min and size_max, probably I am missing some function that does that).

My main point is that I see from the angles set the object standing like this ' \ ', but when trying to stand on it you sense that its like this ' | '.

How do I set the actual box to be like this ' \ ' the same as it is viewed?
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive

Last edited by Diegorkable; 06-22-2012 at 07:33.
Diegorkable 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 06:13.


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