Horizon
Public Attributes | List of all members
PNS::OBSTACLE Struct Reference

Struct OBSTACLE. More...

#include <pns_node.h>

Public Attributes

const ITEMm_head
 

‍Item we search collisions with


 
ITEMm_item
 

‍Item found to be colliding with m_head


 
SHAPE_LINE_CHAIN m_hull
 

‍Hull of the colliding m_item


 
VECTOR2I m_ipFirst
 

‍First and last intersection point between the head item and the hull of the colliding m_item


 
VECTOR2I m_ipLast
 
int m_distFirst
 

‍... and the distance thereof


 
int m_distLast
 

Detailed Description

Struct OBSTACLE.

Holds an object colliding with another object, along with some useful data about the collision.


The documentation for this struct was generated from the following file: