View Single Post
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 12-08-2017 , 09:53   Re: Rotate an entity, then update the hullsize based on its new angle.
Reply With Quote #24

Quote:
Originally Posted by gladius View Post
I really need model and hitbox rotation, I can't figure it out. It's kinda tricky for me. I have a box and need to rotate it like being sloped.
thanks for bumping this, would've never found it otherwise, this is great stuff

basically you have to edit your model for this to work, either by changing some bits with HEX or just recompile model with a flag, see older posts for explanation

also entity needs to be SOLID_BBOX for it to work, and large size initially
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline