Hi! Can anyone "flesh out" the definition of EntityBox() to the point where it makes sense?
The parameters are:
entity - entity handle#
x# - x position of entity's collision box
y# - y position of entity's collision box
z# - z position of entity's collision box
width# - width of entity's collision box
height# - height of entity's collision box
depth# - depth of entity's collision box
I don't understand the x#, y#, z#. These are positions relative to what? What happens if the object moves - do you have to call EntityBox() again?
I would like to believe that these positions are relative to the entity origin and are determined in entity-local coordinates. But I see no statment to that effect, nor any examples to make it clear.
Can anyone clear this up? Thank you.
The parameters are:
entity - entity handle#
x# - x position of entity's collision box
y# - y position of entity's collision box
z# - z position of entity's collision box
width# - width of entity's collision box
height# - height of entity's collision box
depth# - depth of entity's collision box
I don't understand the x#, y#, z#. These are positions relative to what? What happens if the object moves - do you have to call EntityBox() again?
I would like to believe that these positions are relative to the entity origin and are determined in entity-local coordinates. But I see no statment to that effect, nor any examples to make it clear.
Can anyone clear this up? Thank you.