Represents the Entrance and Exit points for a [GwNavSmartObject].
Constructors and accessors
Other related reference items
stingray.GwNavBot.current_or_next_smartobject_interval() stingray.GwNavBot.enter_manual_control() stingray.GwNavBot.exit_manual_control() | |
Gameware Navigation |
can_traverse_smartobject ( self ) : boolean
Returns if the GwNavSmartObjectInterval can be traversed.
|
self : |
Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or this page in the Lua documentation. |
boolean |
Tells if the smartobject id is still allowed in GwNavWorld' smartobject/cost table. |
create ( navworld ) : stingray.GwNavSmartObjectInterval
Creates a GwNavSmartObjectInterval.
|
navworld : |
The GwNavWorld that this interval will be used with. |
The created GwNavSmartObjectInterval. |
destroy ( self )
Destroys a GwNavSmartObjectInterval.
|
self : |
Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or this page in the Lua documentation. |
This function does not return any values. |
entrance_position ( self ) : stingray.Vector3, boolean
Returns the entrance position of a GwNavSmartObjectInterval.
|
self : |
Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or this page in the Lua documentation. |
The entrance position. | |
boolean |
true if the bot is currently stood at the entrance position. |
exit_position ( self ) : stingray.Vector3, boolean
Returns the entrance position of a GwNavSmartObjectInterval.
|
self : |
Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or this page in the Lua documentation. |
The exit position. | |
boolean |
true if the bot's path ends at the exit position. |
smartobject_id ( self ) : integer
Returns the SmartObject id of a GwNavSmartObjectInterval.
|
self : |
Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or this page in the Lua documentation. |
integer |
The id of the SmartObject. |