|
Veteran Member
Join Date: Jan 2010
Location: mom's basement
|
03-06-2022
, 06:08
Re: m_vecOrigin [offset] vs. m_vecAbsOrigin [coordinate]
|
#4
|
Yes, it's correct. It's player view coordinates.
I mentioned about m_vecOrigin, because if you use it, your vector math could be suddenly wrong, if entity is attached to else entity.
Example if parent entity location in the world is 900.0, 900.0, -500.
The target entity you are looking is currently child, m_vecOrigin give you values like 25.0, 5.0, 0.0.
When target entity (child) is unattached from parent entity, target entity m_vecOrigin give you values like 890.0, 920.0, -499.0
You need understan this behaviour, why vector values changed to odd values suddenly.
__________________
Do not Private Message @me
|
|
|
|