Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
CollisionInfo Struct Reference

#include <collision.h>

+ Collaboration diagram for CollisionInfo:

Public Member Functions

 CollisionInfo ()=default
 

Public Attributes

CollisionType type = COLLISION_NODE
 
CollisionAxis axis = COLLISION_AXIS_NONE
 
v3s16 node_p = v3s16(-32768,-32768,-32768)
 
ActiveObjectobject = nullptr
 
v3f new_pos
 
v3f old_speed
 
v3f new_speed
 

Constructor & Destructor Documentation

◆ CollisionInfo()

CollisionInfo::CollisionInfo ( )
default

Member Data Documentation

◆ axis

CollisionAxis CollisionInfo::axis = COLLISION_AXIS_NONE

Referenced by collisionMoveSimple().

◆ new_pos

v3f CollisionInfo::new_pos

Referenced by collisionMoveSimple().

◆ new_speed

v3f CollisionInfo::new_speed

◆ node_p

v3s16 CollisionInfo::node_p = v3s16(-32768,-32768,-32768)

◆ object

ActiveObject* CollisionInfo::object = nullptr

Referenced by collisionMoveSimple().

◆ old_speed

v3f CollisionInfo::old_speed

◆ type

CollisionType CollisionInfo::type = COLLISION_NODE

Referenced by collisionMoveSimple().


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