Reachedpos bbox expansion: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Tels (talk | contribs)
add
 
Tels (talk | contribs)
m typos
Line 1: Line 1:
The '''reachedpos_bbox_expansion''' spawnarg is meant for small AI like rats, mice, birds etc.  
The '''reachedpos_bbox_expansion''' spawnarg is meant for small AI like rats, mice, birds etc.  
It adjusts the [[bbox] around the target position of a goal, so that even AI with a small bounding box
It adjusts the [[bbox]] around the target position of a goal, so that even AI with a small bounding box
will be able to reach their target.  
will be able to reach their target.  


Without that adjustment, the might never get to their target as the approach it, but the target stays all the time outside the AIs box due to their turning not being fast enough. This causes the AI to reach a stable orbit around the target point and is
Without that adjustment, the might never get to their target as the approach it, but the target stays all the time outside the AIs box due to their turning not being fast enough. This causes the AI to reach a stable orbit around the target point and is
usually not wha one wants.
usually not wha one wants.


The default is 0, and the value is in units. A value of 1..3 is usually sufficient.  
The default is 0, and the value is in units. A value of 1..3 is usually sufficient.  

Revision as of 21:31, 5 June 2008

The reachedpos_bbox_expansion spawnarg is meant for small AI like rats, mice, birds etc. It adjusts the bbox around the target position of a goal, so that even AI with a small bounding box will be able to reach their target.


Without that adjustment, the might never get to their target as the approach it, but the target stays all the time outside the AIs box due to their turning not being fast enough. This causes the AI to reach a stable orbit around the target point and is usually not wha one wants.


The default is 0, and the value is in units. A value of 1..3 is usually sufficient. There should be no need to use this spawnarg on any entities in the editor.