CUGL 2.5
Cornell University Game Library
|
#include <CUPhysSyncEvent.h>
Public Member Functions | |
Parameters () | |
Public Attributes | |
Uint64 | obsId |
float | x |
float | y |
float | vx |
float | vy |
float | angle |
float | vAngular |
The type for the data in an object snapshot.
This contains the obstacles's global Id, position, and velocity.
cugl::physics2::net::PhysSyncEvent::Parameters::Parameters | ( | ) |
Creates a new parameter set with default values
float cugl::physics2::net::PhysSyncEvent::Parameters::angle |
The obstacle angle
Uint64 cugl::physics2::net::PhysSyncEvent::Parameters::obsId |
The obstacle id
float cugl::physics2::net::PhysSyncEvent::Parameters::vAngular |
The angular velocity
float cugl::physics2::net::PhysSyncEvent::Parameters::vx |
The x-coordinate of the velocity
float cugl::physics2::net::PhysSyncEvent::Parameters::vy |
The y-coordinate of the velocity
float cugl::physics2::net::PhysSyncEvent::Parameters::x |
The x-coordinate of the position
float cugl::physics2::net::PhysSyncEvent::Parameters::y |
The y-coordinate of the position