GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi::PhysicsApi Class Reference

#include <GameApi.hh>

Classes

struct  PHI

Public Member Functions

IMPORT PhysicsApi (Env &e)
IMPORT PH phy_empty ()
IMPORT PHI anchor_point (PH phy, PT pos)
PH anchor_point2 (PH phy, PT pos)
IMPORT PH ext_force (PH phy, int point, V dir)
IMPORT PH ext_force_all (PH phy, V dir)
IMPORT PH anchor_link (PH phy, int p1, int p2, float dist)
IMPORT PH force_obj (PH phy, O obj, V dir)
IMPORT PH phy_from_p (P p)
IMPORT int num_anchors (PH phy)
IMPORT int num_forces (PH phy, int anchor)
IMPORT int num_links (PH phy)
IMPORT int num_force_volumes (PH phy)
IMPORT PTS init_points (PH pos)
IMPORT void step_points (PH phy, PTA prev_frame, float timestep)
IMPORT PTS physics_action (EveryApi &ev, PH phy)

Constructor & Destructor Documentation

◆ PhysicsApi()

GameApi::PhysicsApi::PhysicsApi ( Env & e)

Member Function Documentation

◆ anchor_link()

GameApi::PH GameApi::PhysicsApi::anchor_link ( PH phy,
int p1,
int p2,
float dist )
Here is the caller graph for this function:

◆ anchor_point()

GameApi::PhysicsApi::PHI GameApi::PhysicsApi::anchor_point ( PH phy,
PT pos )
Here is the caller graph for this function:

◆ anchor_point2()

PH GameApi::PhysicsApi::anchor_point2 ( PH phy,
PT pos )
inline
Here is the caller graph for this function:

◆ ext_force()

GameApi::PH GameApi::PhysicsApi::ext_force ( PH phy,
int point,
V dir )
Here is the caller graph for this function:

◆ ext_force_all()

GameApi::PH GameApi::PhysicsApi::ext_force_all ( PH phy,
V dir )
Here is the caller graph for this function:

◆ force_obj()

GameApi::PH GameApi::PhysicsApi::force_obj ( PH phy,
O obj,
V dir )
Here is the caller graph for this function:

◆ init_points()

GameApi::PTS GameApi::PhysicsApi::init_points ( PH pos)

◆ num_anchors()

int GameApi::PhysicsApi::num_anchors ( PH phy)

◆ num_force_volumes()

int GameApi::PhysicsApi::num_force_volumes ( PH phy)

◆ num_forces()

int GameApi::PhysicsApi::num_forces ( PH phy,
int anchor )

◆ num_links()

int GameApi::PhysicsApi::num_links ( PH phy)

◆ phy_empty()

GameApi::PH GameApi::PhysicsApi::phy_empty ( )
Here is the caller graph for this function:

◆ phy_from_p()

GameApi::PH GameApi::PhysicsApi::phy_from_p ( P p)
Here is the caller graph for this function:

◆ physics_action()

GameApi::PTS GameApi::PhysicsApi::physics_action ( EveryApi & ev,
PH phy )
Here is the caller graph for this function:

◆ step_points()

void GameApi::PhysicsApi::step_points ( PH phy,
PTA prev_frame,
float timestep )

The documentation for this class was generated from the following files: