CUGL 2.5
Cornell University Game Library
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
cugl::physics2::net::NetPhysicsController::TargetParams Class Reference

#include <CUNetPhysicsController.h>

Public Member Functions

 TargetParams ()
 

Public Attributes

int curStep
 
int numSteps
 
Vec2 P0
 
Vec2 P1
 
Vec2 P2
 
Vec2 P3
 
Vec2 targetVel
 
float targetAngle
 
float targetAngV
 
Vec2 I
 
Uint64 numI
 

Detailed Description

The target target parameters for interpolation.

These are used to smooth errors in the simulation.

Constructor & Destructor Documentation

◆ TargetParams()

cugl::physics2::net::NetPhysicsController::TargetParams::TargetParams ( )

Creates a parameter set with default values

Member Data Documentation

◆ curStep

int cugl::physics2::net::NetPhysicsController::TargetParams::curStep

The current step of interpolation

◆ I

Vec2 cugl::physics2::net::NetPhysicsController::TargetParams::I

The integral term sum For PID interpolation

◆ numI

Uint64 cugl::physics2::net::NetPhysicsController::TargetParams::numI

The number of integral terms summed For PID interpolation

◆ numSteps

int cugl::physics2::net::NetPhysicsController::TargetParams::numSteps

The total steps designated for interpolation

◆ P0

Vec2 cugl::physics2::net::NetPhysicsController::TargetParams::P0

The source position

◆ P1

Vec2 cugl::physics2::net::NetPhysicsController::TargetParams::P1

The first control point (for spline interpolation)

◆ P2

Vec2 cugl::physics2::net::NetPhysicsController::TargetParams::P2

The second control point (for spline interpolation)

◆ P3

Vec2 cugl::physics2::net::NetPhysicsController::TargetParams::P3

The target position

◆ targetAngle

float cugl::physics2::net::NetPhysicsController::TargetParams::targetAngle

The target angle

◆ targetAngV

float cugl::physics2::net::NetPhysicsController::TargetParams::targetAngV

The target angular velocity

◆ targetVel

Vec2 cugl::physics2::net::NetPhysicsController::TargetParams::targetVel

The target velocity


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