Horizon
Loading...
Searching...
No Matches
Public Attributes | List of all members
PNS::OBSTACLE Struct Reference

Hold an object colliding with another object, along with some useful data about the collision. 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 intersection between m_head and m_hull.
 
int m_distFirst
 ... and the distance thereof
 

Detailed Description

Hold 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: