Here quick tip about these two.
m_vecOrigin (Prop_Send, Prop_Data)
- Think this as "offset".
When entity has no parent (
attached to anything), it give "offset" values from world coordinate
0.0, 0.0, 0.0
When entity is attached to another entity, it give "offset" values from parent entity origin (or parent attachment point).
-
It is not world "coordinates".
"Offset" zero point is either center of world 0.0, 0.0, 0.0 or from parent entity origin (or parent attachment point).
m_vecAbsOrigin (Prop_Data)
- This give entity "coordinates" from world.
I learned today... harder way... by troubleshooting problem with bumpmines.