rotate sized entity
Hy
I have got a problem: I want to place rotated object on a map. To do this, i create entity, set coordinates and size, but if I want to rotate this, de setted size don't rotate. Ex: If I place a box with ( -10, -10, 0 ) (50, 10, 40) and rotate 90 degress, the size still. How can I fix it? I must set size, with another function? :cry: |
Re: rotate sized entity
I'm not sure, but you could try setting size after rotating the entity.
|
Re: rotate sized entity
Yes, but how?
If I rotate this object with 45 degress, how can I determinate the good size? This is a rotated box, and setsize make a solid box. I specify my problem: So I want to take objects (Car, tree etc) on my map, but if I make, I can go through it. I set this ent with set_pev(iEnt, pev_solid, SOLID_BBOX)) and I must set a size for fix this problem. I want to make a solid entity, but if I rotate, the object still solid with good hitboxes :) |
| All times are GMT -4. The time now is 02:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.