Raised This Month: $ Target: $400
 0% 

Brush Ent Angles


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-29-2009 , 09:06   Brush Ent Angles
Reply With Quote #1

Basically it set it's angles based on map center, so will rotate around map center.I'm trying to rotate it in actual origin, like how angles work for other ents, but dunno how.
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 07-29-2009 at 09:22.
Alka is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 07-29-2009 , 14:00   Re: Brush Ent Angles
Reply With Quote #2

It rotates like that because its pev_origin is 0.0 0.0 0.0, i didnt found a way to fix it so far

PHP Code:
    new Float:vOrigin];
    
get_brush_entity_originiEntvOrigin );
    
entity_set_originiEntvOrigin ); 
didnt helped
__________________
xPaw is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-29-2009 , 15:06   Re: Brush Ent Angles
Reply With Quote #3

Hmm yea, but i've saw that when you change angle, also it size it changes and it's kinda strange, maybe someone else know? ;S
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 07-29-2009 , 15:31   Re: Brush Ent Angles
Reply With Quote #4

Well, you can't change an angle without altering the size of the entity/object, it's virtually impossible. This is caused when changing an angle you also change the way the entity/object appears to the user(player), thus altering the size and shape.
BOYSplayCS is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 07-29-2009 , 15:46   Re: Brush Ent Angles
Reply With Quote #5

What size are you both talking about?
__________________
joaquimandrade is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-29-2009 , 15:47   Re: Brush Ent Angles
Reply With Quote #6

Quote:
Originally Posted by BOYSplayCS View Post
Well, you can't change an angle without altering the size of the entity/object, it's virtually impossible. This is caused when changing an angle you also change the way the entity/object appears to the user(player), thus altering the size and shape.
That's wrong.
You can change an entity's model angles but keep its bounding box angles.
When you set the pev_angles, you are setting the angles.
When you set the pev_mins/pev_maxs, you are setting the bounding box angles.

This can be seen with BlockMaker, if you take out the portion that changes the pev_mins/pev_maxs.
It will only rotate the block models without changing where you can touch the model.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-29-2009 , 16:24   Re: Brush Ent Angles
Reply With Quote #7

Yes, but with brush ents it's different, dunno how to make angles thing.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-07-2009 , 08:18   Re: Brush Ent Angles
Reply With Quote #8

Anyone found a solution?
__________________
xPaw 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 18:24.


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